2024-01-06 08:15:55 +01:00
|
|
|
[Unit]
|
|
|
|
Description=OpenSSH server daemon
|
2024-09-22 11:47:18 +02:00
|
|
|
Wants=sshdgenkeys.service
|
|
|
|
After=sshdgenkeys.service
|
|
|
|
After=auditd.service network.target
|
2024-01-06 08:15:55 +01:00
|
|
|
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/sysconfig/ssh
|
|
|
|
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
KillMode=process
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|