openssh/openssh-sshd.service

16 lines
393 B
Desktop File

[Unit]
Description=OpenSSH server daemon
After=syslog.target network.target auditd.service
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
[Service]
EnvironmentFile=-/etc/sysconfig/ssh
#ExecStartPre=/usr/bin/test -c /dev/null
ExecStartPre=/usr/bin/ssh-makecerts
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target