b5565b24fd
Fixes "Missing privilege separation directory: /var/run/sshd"
19 lines
440 B
Desktop File
19 lines
440 B
Desktop File
[Unit]
|
|
Description=OpenBSD Secure Shell server (management VRF)
|
|
After=network.target auditd.service
|
|
|
|
[Service]
|
|
ExecStartPre=/usr/sbin/sshd -t
|
|
ExecStart=ip vrf exec mgmt /usr/sbin/sshd -f /etc/ssh/sshd_config.mgmt
|
|
ExecReload=/usr/sbin/sshd -t
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=on-failure
|
|
RestartPreventExitStatus=255
|
|
Type=notify
|
|
RuntimeDirectory=sshd
|
|
RuntimeDirectoryMode=0755
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|