void-packages/srcpkgs/bacula-common/files/bacula-dir/run

5 lines
112 B
Bash

#!/bin/sh
exec 2>&1
[ ! -d /run/bacula ] && mkdir /run/bacula
exec bacula-dir -f -c /etc/bacula/bacula-dir.conf