paulbsd-salt/states/bareos/templates/bareos-fd.service.j2

22 lines
506 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
## {{ 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]
2023-03-11 10:08:26 +01:00
WantedBy=multi-user.target