bacula/bacula-dir.service
2012-07-10 14:36:37 +02:00

16 lines
451 B
Desktop File

[Unit]
Description=Bacula-Director, the Backup-server
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
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