Add systemd init file

This commit is contained in:
Sean DuBois 2014-10-28 10:56:00 -05:00
parent f8b218fc9a
commit 9119ebb08e

11
init-scripts/systemd Normal file
View file

@ -0,0 +1,11 @@
[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