bacula/bacula-dir.service

18 lines
474 B
SYSTEMD
Raw Normal View History

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