You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
461 B
18 lines
461 B
[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
|
|
|