fail2rest/init-scripts/systemd
2014-10-27 10:56:36 -05:00

11 lines
240 B
Text

[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