Provide consistent header information for all /etc/systemd/ files that are deployed...
[grml-live.git] / etc / grml / fai / config / files / etc / systemd / system / ssh.service / GRMLBASE
1 # This file was deployed via grml-live.
2
3 [Unit]
4 Description=OpenBSD Secure Shell server
5 After=network.target auditd.service
6 ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
7
8 [Service]
9 EnvironmentFile=-/etc/default/ssh
10 ExecStartPre=-/bin/sh -c "/usr/bin/ssh-keygen -A"
11 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
12 ExecReload=/bin/kill -HUP $MAINPID
13 KillMode=process
14 Restart=on-failure
15
16 [Install]
17 WantedBy=multi-user.target
18 Alias=sshd.service
19