summaryrefslogtreecommitdiff
path: root/data/live-build-config/includes.chroot/etc/systemd/system/sshd.service
blob: e84142bbc3f91a99600fe6aedaeaac3f73f62cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=OpenBSD Secure Shell server
After=network.target auditd.service
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run

[Service]
EnvironmentFile=-/etc/default/ssh
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/usr/bin/killall sshd
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target
Alias=sshd.service