openssh/sshd.service
2017-03-01 11:01:26 +00:00

16 lines
307 B
Desktop File

[Unit]
Description=OpenSSH Daemon
After=network.target
[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
TasksMax=infinity
[Install]
WantedBy=multi-user.target