2011-09-08 16:31:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Bacula-Director, the Backup-server
|
2012-07-10 12:36:37 +00:00
|
|
|
Requires=syslog.target network.target nss-lookup.target
|
|
|
|
After=network.target nss-lookup.target
|
2011-09-08 16:31:35 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=CONFIG=/etc/bacula/bacula-dir.conf
|
|
|
|
EnvironmentFile=-/etc/sysconfig/bacula-dir
|
|
|
|
ExecStartPre=/usr/sbin/bacula-checkconf $CONFIG
|
2011-12-06 08:48:33 +00:00
|
|
|
ExecStart=/usr/sbin/bacula-dir -f $OPTS -c $CONFIG -u $DIR_USER -g $DIR_GROUP
|
2011-09-08 16:31:35 +00:00
|
|
|
StandardOutput=syslog
|
2011-10-21 07:07:37 +00:00
|
|
|
Restart=always
|
2011-09-08 16:31:35 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|