https://bugzilla.mindrot.org/show_bug.cgi?id=2468

--- Comment #18 from Ricardo <[email protected]> ---
Added script implement desired behaviour on GNU LINUX using systemd.

systemd unit drop in:

sudo mkdir -m 755 -p "/etc/systemd/system/sshd.service.d/"
cat <<EOF >
/etc/systemd/system/sshd.service.d/50-compile-sshd-config.conf
[Service]
ExecStartPre=-/usr/local/bin/sshd_config_update
EOF
chmod 644
/etc/systemd/system/sshd.service.d/50-compile-sshd-config.conf
systemctl daemon-reload


Hope this workaround helps someone.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to