diff options
author | Dmitry Bogatov <KAction@gnu.org> | 2016-07-15 09:48:02 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2016-07-15 09:48:02 +0300 |
commit | c12f33cb4af4a22584fcaffaf88ffd5abe41eec5 (patch) | |
tree | abc0f4e465cd0826748abc0cbca4a15b2f5ce4bd /dh_runit | |
parent | c125d66cca4cb36c94da0b57a7bc7d653852f943 (diff) |
Support for runlevels
Diffstat (limited to 'dh_runit')
-rwxr-xr-x | dh_runit | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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/"); |