summarylogtreecommitdiffstats
path: root/sshd.service
blob: a893724f176718efa1877cde9b169861f489a761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=OpenSSH Daemon
Wants=sshdgenkeys.service
After=sshdgenkeys.service
After=network.target

[Service]
ExecStart=/usr/bin/sshd -D
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always

[Install]
WantedBy=multi-user.target