1
0
This commit is contained in:
Daniel Tartavel
2020-05-09 14:24:55 +02:00
parent 1b27bccac5
commit a0202ec99a
2 changed files with 37 additions and 2 deletions

19
sshdetect.service Normal file
View File

@ -0,0 +1,19 @@
[Unit]
Description=ssh connexion detect Daemon
After=sshd.service
[Service]
Type=simple
User=daemon
Group=daemon
ExecStart=/usr/bin/sshdetect
Restart=always
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target