/usr/share/bacula-common/common-functions.init is in bacula-common 7.0.5+dfsg-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #
# Common functions, used from init scripts
#
create_var_run_dir()
{
if [ ! -d /var/run/bacula/ ]; then
mkdir -p -m 0755 /var/run/bacula/
chown bacula:daemon /var/run/bacula/
fi
}
|