paulbsd-salt/states/bareos/templates/bareos-fd.service.j2
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

22 lines
506 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