diff options
author | Dmitry Bogatov <KAction@gnu.org> | 2016-06-08 23:12:38 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2016-06-08 23:12:38 +0300 |
commit | 2522d781a1fe724f8433160f0df9a3091aeacfb6 (patch) | |
tree | cdb800ba5649f3ab6b7b647e0b146108a9f9e879 /postinst-runit | |
parent | 28dfe2564c8f6bc4422b4d1eee7d707190bea7db (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-runit | 6 |
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. | |||
16 | EOF | 16 | EOF |
17 | exit 1 | 17 | exit 1 |
18 | fi | 18 | fi |
19 | ln -s '/etc/sv/#NAME#' "$SV_DIR/" | 19 | ln -sf '/etc/sv/#NAME#' "$SV_DIR/" |
20 | 20 | mkdir -p /var/lib/runit/supervise/#NAME# | |
21 | |||
22 | |||