/lib/systemd/system/denyhosts.service is in denyhosts 2.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [Unit]
Description=DenyHosts
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
#ExecStart=/usr/sbin/denyhosts --purge --config=/etc/denyhosts.conf --daemon
ExecStart=/usr/share/denyhosts/denyhosts_ctl.py start --purge --config=/etc/denyhosts.conf
WorkingDirectory=/var/lib/denyhosts
PIDFile=/run/denyhosts.pid
#EnvironmentFile=/etc/courtlistener
#Restart=on-failure
[Install]
WantedBy=multi-user.target
|