summaryrefslogtreecommitdiff
path: root/app-admin/denyhosts/files/denyhosts.service
blob: 05a59dd27bfcf40afae2cbdd74b36d8dced70cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=SSH log watcher
Before=sshd.service

[Service]
Type=forking
ExecStartPre=/bin/rm -f /var/run/denyhosts.pid
ExecStart=/usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf
PIDFile=/var/run/denyhosts.pid

[Install]
WantedBy=multi-user.target