diff options
Diffstat (limited to 'community/bareos/bareos-fd.initd')
-rw-r--r-- | community/bareos/bareos-fd.initd | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/community/bareos/bareos-fd.initd b/community/bareos/bareos-fd.initd index dc899b38c1..84eb1b1c1a 100644 --- a/community/bareos/bareos-fd.initd +++ b/community/bareos/bareos-fd.initd @@ -1,10 +1,15 @@ #!/sbin/openrc-run -name="Bareos File" +name="Bareos File daemon" +pidfile=/run/bareos/bareos-fd.9102.pid command=/usr/sbin/bareos-fd -pidfile=/run/$RC_SVCNAME.pid +command_args="-u root -g bareos" depend() { need net use dns } + +start_pre() { + checkpath -dm750 -o bareos "${pidfile%/*}" +}
\ No newline at end of file |