mirror of https://github.com/fail2ban/fail2ban
Add systemd unit file and tmpfiles.d configuration files
parent
fb006ff624
commit
ed386dfe07
|
@ -0,0 +1 @@
|
||||||
|
D /var/run/fail2ban 0755 root root -
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Fail2ban Service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/bin/fail2ban-client -x start
|
||||||
|
ExecStop=/usr/bin/fail2ban-client stop
|
||||||
|
ExecReload=/usr/bin/fail2ban-client reload
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=network.target
|
Loading…
Reference in New Issue