mirror of
https://github.com/Sean-Der/fail2rest.git
synced 2024-12-21 13:12:18 +01:00
Add systemd init file
This commit is contained in:
parent
f8b218fc9a
commit
9119ebb08e
1 changed files with 11 additions and 0 deletions
11
init-scripts/systemd
Normal file
11
init-scripts/systemd
Normal 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
|
Loading…
Reference in a new issue