diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-10-15 13:43:35 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-10-16 12:27:36 +0000 |
commit | 2af22fc23250e957d75e9e4449f842f9f1a5e16a (patch) | |
tree | 41ab5de9ffd9b37d2b8d75bdd51e77bf02d00de1 /main/bacula/bacula-fd.initd | |
parent | 41e574563a228c690047bb1b5c88c58978a2cfd5 (diff) | |
download | aports-2af22fc23250e957d75e9e4449f842f9f1a5e16a.tar.bz2 aports-2af22fc23250e957d75e9e4449f842f9f1a5e16a.tar.xz |
main/bacula: use root as rundir owner for bacula-client
Partially revert previous commit
In case other bacula daemons run on the same host,
their package will create the bacula user and group
and their init script will set bacula as the owner of the rundir.
bacula-fd will be able to write the pidfile in the same rundir since it runs as root.
Diffstat (limited to 'main/bacula/bacula-fd.initd')
-rw-r--r-- | main/bacula/bacula-fd.initd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/bacula/bacula-fd.initd b/main/bacula/bacula-fd.initd index 1e33abc1c0..9e0ee53c4e 100644 --- a/main/bacula/bacula-fd.initd +++ b/main/bacula/bacula-fd.initd @@ -18,6 +18,5 @@ depend() { start_pre() { checkpath --quiet --directory --mode 0775\ - --owner bacula:bacula $(dirname $pidfile) + $(dirname $pidfile) } - |