bacula/bacula-dir.service

16 lines
435 B
Desktop File

[Unit]
Description=Bacula-Director, the Backup-server
Documentation=man:bacula-dir(8)
Requires=syslog.target network.target nss-lookup.target
After=network.target nss-lookup.target
[Service]
Environment=CONFIG=/etc/bacula/bacula-dir.conf
EnvironmentFile=-/etc/sysconfig/bacula-dir
ExecStart=/usr/sbin/bacula-dir -f $OPTS -c $CONFIG -u $DIR_USER -g $DIR_GROUP
StandardOutput=syslog
Restart=always
[Install]
WantedBy=multi-user.target