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

9 lines
241 B
Plaintext
Raw Normal View History

#!/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 syncthing@user.service
systemctl --no-block restart syncthing@user.service