bacula/bacula-dir.service

17 lines
483 B
SYSTEMD
Raw Normal View History

2011-09-08 16:31:35 +00:00
[Unit]
Description=Bacula-Director, the Backup-server
2012-08-02 12:04:32 +00:00
Documentation=man:bacula-dir(8)
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