bacula/bacula-dir.service
2011-12-06 09:48:33 +01:00

16 lines
415 B
Desktop File

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