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

13 lines
259 B
SYSTEMD
Raw Permalink Normal View History

2023-01-13 10:08:39 +01:00
[Unit]
Description=OpenSSH server daemon
After=syslog.target network.target auditd.service
[Service]
ExecStartPre=/usr/bin/ssh-keygen -A
ExecStart=/usr/sbin/sshd -D -e
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target