Contents of /trunk/openssh/sshd.service
Parent Directory
|
Revision Log
Revision 2363 -
(show annotations)
(download)
Thu Jan 2 10:31:07 2014 UTC (10 years, 3 months ago) by niro
File size: 489 byte(s)
Thu Jan 2 10:31:07 2014 UTC (10 years, 3 months ago) by niro
File size: 489 byte(s)
-let sshd.service start all required dependencies automatically and changed keygen services to be static services
1 | [Unit] |
2 | Description=OpenSSH Server Daemon. |
3 | Wants=ssh-keygen-dsa.service ssh-keygen-ecdsa.service ssh-keygen-rsa1.service ssh-keygen-rsa.servic |
4 | After=syslog.target network.target ssh-keygen-dsa.service ssh-keygen-ecdsa.service ssh-keygen-rsa1.service ssh-keygen-rsa.servic |
5 | |
6 | [Service] |
7 | PIDFile=/var/run/sshd.pid |
8 | # test ssh setup |
9 | ExecStartPre=/usr/sbin/sshd -t |
10 | ExecStart=/usr/sbin/sshd -D |
11 | ExecReload=/bin/kill -HUP $MAINPID |
12 | KillMode=process |
13 | Restart=always |
14 | |
15 | [Install] |
16 | WantedBy=multi-user.target |