diff options
author | Dmitry Bogatov <KAction@gnu.org> | 2016-10-31 13:32:58 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2016-10-31 13:32:58 +0300 |
commit | 56c5c7739a1d2d1ff2ea253d3504bc0897554dfb (patch) | |
tree | 1517db9572acfbd84c4be9613158d8c57ff7bfb2 /dh_runit | |
parent | 382e5165e9334591b70b813ac5d6915159be38fe (diff) |
Change naming of generated system users for logging to start with underscore.
Diffstat (limited to 'dh_runit')
-rwxr-xr-x | dh_runit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) { | |||
85 | install_dir($tmp . $logdir); | 85 | install_dir($tmp . $logdir); |
86 | 86 | ||
87 | my $run_log = "$sv_dir/$name/log/run"; | 87 | my $run_log = "$sv_dir/$name/log/run"; |
88 | my $log_user = $name . "log_"; | 88 | my $log_user = "_log-". $name; |
89 | open(RUN_LOG, ">$run_log") || die $!; | 89 | open(RUN_LOG, ">$run_log") || die $!; |
90 | print RUN_LOG "#!/bin/sh\n"; | 90 | print RUN_LOG "#!/bin/sh\n"; |
91 | print RUN_LOG "chown -R '$log_user' '$logdir'\n"; | 91 | print RUN_LOG "chown -R '$log_user' '$logdir'\n"; |