summaryrefslogtreecommitdiff
path: root/dh_runit
diff options
context:
space:
mode:
Diffstat (limited to 'dh_runit')
-rwxr-xr-xdh_runit3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_runit b/dh_runit
index 5dbbb6e..37a24c0 100755
--- a/dh_runit
+++ b/dh_runit
@@ -74,7 +74,8 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) {
74 install_dir("$tmp/var/lib/runit/supervise/$name"); 74 install_dir("$tmp/var/lib/runit/supervise/$name");
75 75
76 if ($conf->{enable}) { 76 if ($conf->{enable}) {
77 runit_autoscript($pkg, 'postinst', "s/#NAME#/$name/"); 77 make_symlink("/etc/runit/runsvdir/default/$name",
78 "/etc/sv/$name", $tmp);
78 } 79 }
79 runit_autoscript($pkg, 'prerm', "s/#NAME#/$name/"); 80 runit_autoscript($pkg, 'prerm', "s/#NAME#/$name/");
80 runit_autoscript($pkg, 'postrm', "s/#NAME#/$name/"); 81 runit_autoscript($pkg, 'postrm', "s/#NAME#/$name/");