19 lines
461 B
SYSTEMD
19 lines
461 B
SYSTEMD
[Unit]
|
|
Description=(Mirror) 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 -f /etc/ssh/sshd_mirror_config -D $SSHD_OPTS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=on-failure
|
|
RestartPreventExitStatus=255
|
|
SyslogIdentifier=sshd-mirror
|
|
Type=notify
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=sshd-mirror.service
|