sshdetect.service 282 B

1234567891011121314151617
  1. [Unit]
  2. Description=ssh connexion detect Daemon
  3. After=sshd.service
  4. [Service]
  5. Type=simple
  6. WorkingDirectory=/root
  7. ExecStart=/usr/bin/sshdetect
  8. Restart=always
  9. # Configures the time to wait before service is stopped forcefully.
  10. TimeoutStopSec=10
  11. [Install]
  12. WantedBy=multi-user.target