Add systemd unit file and tmpfiles.d configuration files

pull/142/head
Orion Poplawski 2013-03-15 14:37:11 -06:00
parent fb006ff624
commit ed386dfe07
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1 @@
D /var/run/fail2ban 0755 root root -

12
files/fail2ban.service Normal file
View File

@ -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