diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2022-06-26 22:34:39 +0200 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2022-07-25 23:53:04 +0200 |
commit | 54da0fea16fe96e031150a7f87de4567aa6ddc0b (patch) | |
tree | 9d62241cbb17a502f237dd4137a098d683db2ed8 /files/etc | |
parent | 72b29d02cb6a7007944f81e0fb354f5ba833ed2f (diff) |
work with systemd
Diffstat (limited to 'files/etc')
-rw-r--r-- | files/etc/systemd/system/s6.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/etc/systemd/system/s6.service b/files/etc/systemd/system/s6.service new file mode 100644 index 0000000..3c3c7ec --- /dev/null +++ b/files/etc/systemd/system/s6.service @@ -0,0 +1,14 @@ +[Unit] +Description=s6 supervision tree +Documentation=https://skarnet.org/software/s6/ + +[Install] +WantedBy=multi-user.target + +[Service] +Type=simple +ExecStart=/usr/bin/s6-svscan -t0 /etc/s6-scandir +ExecStop=/usr/bin/s6-svscanctl -t /etc/s6-scandir +ExecReload=/usr/bin/s6-svscanctl -an /etc/s6-scandir +Restart=always +RestartSec=1 |