[Unit] Description=SSH log watcher After=syslog.target Before=sshd.service [Service] Type=forking RuntimeDirectory=denyhosts RuntimeDirectoryPreserve=yes ExecStartPre=/bin/rm -f /run/denyhosts/denyhosts.pid ExecStart=/usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf PIDFile=/run/denyhosts/denyhosts.pid [Install] WantedBy=multi-user.target