summaryrefslogtreecommitdiff
path: root/debian/systemd/ssh.service
blob: e7209f75aa32f31bb7aa49776c23636edd1dba74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target