[Unit]
Description=ssh connexion detect Daemon
After=sshd.service
[Service]
Type=simple
WorkingDirectory=/root
ExecStart=/usr/bin/sshdetect
Restart=always
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target