diff options
author | Dmitry Bogatov <KAction@gnu.org> | 2016-07-15 09:48:02 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2016-07-15 09:48:02 +0300 |
commit | c12f33cb4af4a22584fcaffaf88ffd5abe41eec5 (patch) | |
tree | abc0f4e465cd0826748abc0cbca4a15b2f5ce4bd /postinst-runit | |
parent | c125d66cca4cb36c94da0b57a7bc7d653852f943 (diff) |
Support for runlevels
Diffstat (limited to 'postinst-runit')
-rw-r--r-- | postinst-runit | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/postinst-runit b/postinst-runit index 1955857..8b5887c 100644 --- a/postinst-runit +++ b/postinst-runit | |||
@@ -1,3 +1,2 @@ | |||
1 | SV_DIR=/etc/service | 1 | SV_DEFAULT=/etc/runit/runsvdir/default |
2 | ln -sf '/etc/sv/#NAME#' "$SV_DIR/" | 2 | ln -sf '/etc/sv/#NAME#' "$SV_DEFAULT" |
3 | mkdir -p '/var/lib/runit/supervise/#NAME#' | ||