20 lines
487 B
Desktop File
20 lines
487 B
Desktop File
[Unit]
|
|
Description=OpenBSD Secure Shell server
|
|
After=network.target auditd.service
|
|
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/default/ssh
|
|
ExecStartPre=/usr/sbin/sshd -t
|
|
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS -f /etc/ssh/sshd_config_external
|
|
ExecReload=/usr/sbin/sshd -t
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=on-failure
|
|
RestartPreventExitStatus=255
|
|
Type=notify
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=sshd-external.service
|