fail2rest/init-scripts/systemd

12 lines
240 B
Text
Raw Permalink Normal View History

2014-10-28 16:56:00 +01:00
[Unit]
Description=fail2ban REST server
Documentation=man:fail2rest(1)
ConditionPathExists=/etc/fail2rest.json
After=fail2ban.service
[Service]
ExecStart=/usr/bin/fail2rest -config=/etc/fail2rest.json
[Install]
WantedBy=multi-user.target