2011-11-29 20:55:10 +01:00
|
|
|
[Unit]
|
|
|
|
Description=OpenSSH Daemon
|
2013-04-15 11:19:17 +02:00
|
|
|
After=network.target
|
2011-11-29 20:55:10 +01:00
|
|
|
|
|
|
|
[Service]
|
2014-02-14 15:54:10 +01:00
|
|
|
EnvironmentFile=-/etc/sysconfig/ssh
|
2011-11-29 20:55:10 +01:00
|
|
|
ExecStartPre=/usr/sbin/sshd-gen-keys-start
|
|
|
|
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
KillMode=process
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|