summaryrefslogtreecommitdiff
path: root/postinst-runit
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-08-31 14:02:13 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-08-31 14:02:13 +0300
commitf4ab345fd51a86db9eccc7231bdd16db375ea2d0 (patch)
tree7c03557697b58add8dd4491951c1d9ae6a096c62 /postinst-runit
parentd81572d639a310ba44ffa388aaab9dbe057d535d (diff)
Do not create /etc/runit/runsvdir/default directory. Instead, it is provided by runit binary package. It saved us trouble of ensuring, that directory is removed at apporiate time.
Diffstat (limited to 'postinst-runit')
-rw-r--r--postinst-runit3
1 files changed, 1 insertions, 2 deletions
diff --git a/postinst-runit b/postinst-runit
index 8b5887c..44b062e 100644
--- a/postinst-runit
+++ b/postinst-runit
@@ -1,2 +1 @@
1SV_DEFAULT=/etc/runit/runsvdir/default ln -sf '/etc/sv/#NAME#' /etc/runit/runsvdir/default
2ln -sf '/etc/sv/#NAME#' "$SV_DEFAULT"