diff options
author | Profpatsch <mail@profpatsch.de> | 2019-04-02 12:10:28 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2019-04-02 12:12:53 +0200 |
commit | 0ea4fa96f4e6a1de27f50a97db9007e14958547d (patch) | |
tree | 084cce0b4a75642c021b3f76ebe768be1fed7dc9 /pkgs/profpatsch/s6/dhall/ServiceDirectory/default.dhall | |
parent | a015bbe903ccc0e5f8736d41f14c768672929564 (diff) |
pkgs/profpatsch: add dhall types for s6 servicedir
First version of a way to build s6 services using `dhall-to-nix`. Includes a small library that formalizes the tables in `man 7 signal`.
Diffstat (limited to 'pkgs/profpatsch/s6/dhall/ServiceDirectory/default.dhall')
-rw-r--r-- | pkgs/profpatsch/s6/dhall/ServiceDirectory/default.dhall | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/profpatsch/s6/dhall/ServiceDirectory/default.dhall b/pkgs/profpatsch/s6/dhall/ServiceDirectory/default.dhall new file mode 100644 index 00000000..c41fff5c --- /dev/null +++ b/pkgs/profpatsch/s6/dhall/ServiceDirectory/default.dhall @@ -0,0 +1,20 @@ +let Signal = ./../imports/Signal.dhall + +in { finish = + None Text + , up = + True + , setid = + True + , notification-fd = + None Natural + , timeout-kill = + 0 + , timeout-finish = + 5000 + , max-death-tally = + 100 + , down-signal = + Signal.SIGTERM + } + : ./default-type.dhall \ No newline at end of file |