bacula/bacula-dir.service
2011-10-21 09:07:37 +02:00

18 lines
466 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
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=always
[Install]
WantedBy=multi-user.target