Magellan Linux

Contents of /trunk/dropbear/dropbear.service

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2216 - (show annotations) (download)
Mon Jun 24 11:49:20 2013 UTC (10 years, 10 months ago) by niro
File size: 255 byte(s)
-only kill the process on restart, not all user sessions and always restart sshd on failure
1 [Unit]
2 Description=Dropbear SSH Server Daemon
3 After=syslog.target network.target
4
5 [Service]
6 PIDFile=/run/dropbear.pid
7 ExecStart=/usr/sbin/dropbear -F
8 ExecReload=/bin/kill -HUP $MAINPID
9 KillMode=process
10 Restart=always
11
12 [Install]
13 WantedBy=multi-user.target