SwordArMor-gentoo-overlay/net-misc/openssh/files/sshd.service.1

16 lines
298 B
Groff
Raw Permalink Normal View History

[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