From c12f33cb4af4a22584fcaffaf88ffd5abe41eec5 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Fri, 15 Jul 2016 09:48:02 +0300 Subject: Support for runlevels --- postinst-runit | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'postinst-runit') diff --git a/postinst-runit b/postinst-runit index 1955857..8b5887c 100644 --- a/postinst-runit +++ b/postinst-runit @@ -1,3 +1,2 @@ -SV_DIR=/etc/service -ln -sf '/etc/sv/#NAME#' "$SV_DIR/" -mkdir -p '/var/lib/runit/supervise/#NAME#' +SV_DEFAULT=/etc/runit/runsvdir/default +ln -sf '/etc/sv/#NAME#' "$SV_DEFAULT" -- cgit v1.2.3