formula-fabio/fabio/files/fabio.service
2018-05-17 17:36:29 -04:00

15 lines
369 B
Desktop File

[Unit]
Description=fabio
Wants=network.target
After=network.target
[Service]
EnvironmentFile=-/etc/{% if grains['os_family'] == 'Debian' %}default{% else %}sysconfig{% endif %}/fabio
ExecStart=/usr/local/bin/fabio agent -config-dir=/etc/fabio.d
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=TERM
User={{ user }}
Group={{ group }}
[Install]
WantedBy=multi-user.target