summaryrefslogtreecommitdiff
path: root/postinst-runit
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-06-08 23:12:38 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-06-08 23:12:38 +0300
commit2522d781a1fe724f8433160f0df9a3091aeacfb6 (patch)
treecdb800ba5649f3ab6b7b647e0b146108a9f9e879 /postinst-runit
parent28dfe2564c8f6bc4422b4d1eee7d707190bea7db (diff)
Improve created /etc/sv/${NAME} directory
* ensure that run/finish scripts are executable * create 'supervise' symlink to not pollute /etc/ directory
Diffstat (limited to 'postinst-runit')
-rw-r--r--postinst-runit6
1 files changed, 2 insertions, 4 deletions
diff --git a/postinst-runit b/postinst-runit
index 8b09a95..7c21f0e 100644
--- a/postinst-runit
+++ b/postinst-runit
@@ -16,7 +16,5 @@ restart installation.
16EOF 16EOF
17 exit 1 17 exit 1
18fi 18fi
19ln -s '/etc/sv/#NAME#' "$SV_DIR/" 19ln -sf '/etc/sv/#NAME#' "$SV_DIR/"
20 20mkdir -p /var/lib/runit/supervise/#NAME#
21
22