16 lines
298 B
Groff
16 lines
298 B
Groff
[Unit]
|
|
Description=OpenSSH server daemon
|
|
After=network.target auditd.service
|
|
|
|
[Service]
|
|
ExecStartPre=/usr/bin/ssh-keygen -A
|
|
ExecStart=/usr/sbin/sshd -D -e
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
OOMPolicy=continue
|
|
Restart=on-failure
|
|
RestartSec=42s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|