16 lines
393 B
SYSTEMD
16 lines
393 B
SYSTEMD
|
[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
|