summaryrefslogtreecommitdiff
path: root/dh_runit
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-07-15 09:48:02 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-07-15 09:48:02 +0300
commitc12f33cb4af4a22584fcaffaf88ffd5abe41eec5 (patch)
treeabc0f4e465cd0826748abc0cbca4a15b2f5ce4bd /dh_runit
parentc125d66cca4cb36c94da0b57a7bc7d653852f943 (diff)
Support for runlevels
Diffstat (limited to 'dh_runit')
-rwxr-xr-xdh_runit1
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_runit b/dh_runit
index fa19763..01bbf67 100755
--- a/dh_runit
+++ b/dh_runit
@@ -89,6 +89,7 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) {
89 } 89 }
90 make_symlink("/etc/sv/$name/supervise", 90 make_symlink("/etc/sv/$name/supervise",
91 "/var/lib/runit/supervise/$name", $tmp); 91 "/var/lib/runit/supervise/$name", $tmp);
92 install_dir("/var/lib/runit/supervise/$name");
92 93
93 if ($enable eq 'enable' && !$dh{NO_ENABLE}) { 94 if ($enable eq 'enable' && !$dh{NO_ENABLE}) {
94 runit_autoscript($pkg, 'postinst', "s/#NAME#/$name/"); 95 runit_autoscript($pkg, 'postinst', "s/#NAME#/$name/");