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

12 lines
345 B
Text
Raw Normal View History

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