qusal/salt/sys-ssh/files/server/rc.local.d/50-sys-ssh.rc

9 lines
203 B
Bash
Executable File

#!/bin/sh
# vim: ft=sh
# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
systemctl unmask ssh
systemctl --no-block restart ssh