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