21 lines
505 B
Django/Jinja
21 lines
505 B
Django/Jinja
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
[Unit]
|
|
Description=Bareos File Daemon
|
|
Before=multi-user.target
|
|
Before=graphical.target
|
|
Before=shutdown.target
|
|
After=network-online.target
|
|
After=remote-fs.target
|
|
After=time-sync.target
|
|
After=systemd-journald-dev-log.socket
|
|
Wants=network-online.target
|
|
Conflicts=shutdown.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
KillMode=process
|
|
ExecStart=/usr/sbin/bareos-fd -c /etc/bareos/bareos-fd.conf
|
|
SuccessExitStatus=0 15
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |