ports/sysutils/bacula/patches/patch-scripts_bacula-ctl-fd_in

12 lines
332 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: scripts/bacula-ctl-fd.in
--- scripts/bacula-ctl-fd.in.orig
+++ scripts/bacula-ctl-fd.in
@@ -216,6 +216,7 @@ case "$1" in
start)
[ -x ${BACFDBIN}/bacula-fd ] && {
echo "Starting the $Bacula File daemon"
+ cd ${SUBSYSDIR}
OPTIONS=''
if [ "${FD_USER}" != '' ]; then
OPTIONS="${OPTIONS} -u ${FD_USER}"