Annotation of /trunk/dropbear/dropbear.service
Parent Directory | Revision Log
Revision 2216 -
(hide annotations)
(download)
Mon Jun 24 11:49:20 2013 UTC (11 years, 3 months ago) by niro
File size: 255 byte(s)
Mon Jun 24 11:49:20 2013 UTC (11 years, 3 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 | niro | 1953 | [Unit] |
2 | Description=Dropbear SSH Server Daemon | ||
3 | After=syslog.target network.target | ||
4 | |||
5 | [Service] | ||
6 | PIDFile=/run/dropbear.pid | ||
7 | niro | 1954 | ExecStart=/usr/sbin/dropbear -F |
8 | niro | 1953 | ExecReload=/bin/kill -HUP $MAINPID |
9 | niro | 2216 | KillMode=process |
10 | Restart=always | ||
11 | niro | 1953 | |
12 | [Install] | ||
13 | WantedBy=multi-user.target |