summaryrefslogtreecommitdiff
path: root/dh_runit
diff options
context:
space:
mode:
Diffstat (limited to 'dh_runit')
-rwxr-xr-xdh_runit2
1 files changed, 2 insertions, 0 deletions
diff --git a/dh_runit b/dh_runit
index 15a6d17..5ed55b5 100755
--- a/dh_runit
+++ b/dh_runit
@@ -71,6 +71,7 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) {
71 make_symlink("/etc/sv/$name/supervise", 71 make_symlink("/etc/sv/$name/supervise",
72 "/var/lib/runit/supervise/$name", $tmp); 72 "/var/lib/runit/supervise/$name", $tmp);
73 install_dir("$tmp/var/lib/runit/supervise/$name"); 73 install_dir("$tmp/var/lib/runit/supervise/$name");
74 chmod 0700, "$tmp/var/lib/runit/supervise/$name";
74 install_dir("$tmp/etc/runit/runsvdir/default"); 75 install_dir("$tmp/etc/runit/runsvdir/default");
75 76
76 my $substitutions = { 77 my $substitutions = {
@@ -102,6 +103,7 @@ HERE
102 make_symlink("/etc/sv/$name/log/supervise", 103 make_symlink("/etc/sv/$name/log/supervise",
103 "/var/lib/runit/log/supervise/$name", $tmp); 104 "/var/lib/runit/log/supervise/$name", $tmp);
104 install_dir("$tmp/var/lib/runit/log/supervise/$name"); 105 install_dir("$tmp/var/lib/runit/log/supervise/$name");
106 chmod 0700, "$tmp/var/lib/runit/log/supervise/$name";
105 } 107 }
106 } 108 }
107 # runit=2.1.2-20 introduced 'runit-log' user 109 # runit=2.1.2-20 introduced 'runit-log' user