Magellan Linux

Annotation of /trunk/openssh/sshd.service

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2683 - (hide annotations) (download)
Mon Aug 17 10:02:45 2015 UTC (8 years, 9 months ago) by niro
File size: 339 byte(s)
-generate sshd keys oneshot to fix escaping issues with newer systemd
1 niro 1341 [Unit]
2     Description=OpenSSH Server Daemon.
3 niro 2683 Wants=ssh-keygen.service
4     After=syslog.target network.target ssh-keygen.service
5 niro 1341
6     [Service]
7     PIDFile=/var/run/sshd.pid
8     # test ssh setup
9     ExecStartPre=/usr/sbin/sshd -t
10 niro 1763 ExecStart=/usr/sbin/sshd -D
11     ExecReload=/bin/kill -HUP $MAINPID
12 niro 2215 KillMode=process
13     Restart=always
14 niro 1341
15     [Install]
16     WantedBy=multi-user.target