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]
|
|
|
|
EnvironmentFile=/etc/sysconfig/ssh
|
|
|
|
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
|