From 2522d781a1fe724f8433160f0df9a3091aeacfb6 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Wed, 8 Jun 2016 23:12:38 +0300 Subject: Improve created /etc/sv/${NAME} directory * ensure that run/finish scripts are executable * create 'supervise' symlink to not pollute /etc/ directory --- postinst-runit | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'postinst-runit') diff --git a/postinst-runit b/postinst-runit index 8b09a95..7c21f0e 100644 --- a/postinst-runit +++ b/postinst-runit @@ -16,7 +16,5 @@ restart installation. EOF exit 1 fi -ln -s '/etc/sv/#NAME#' "$SV_DIR/" - - - +ln -sf '/etc/sv/#NAME#' "$SV_DIR/" +mkdir -p /var/lib/runit/supervise/#NAME# -- cgit v1.2.3