summaryrefslogtreecommitdiff
path: root/net-misc/openssh/files/sshd.service
blob: b5e96b3a251f208f662a641544f04ee6ded492e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
[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

[Install]
WantedBy=multi-user.target