qusal/salt/sys-syncthing/clean.sls

22 lines
542 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
2023-11-13 13:18:06 -05:00
SPDX-FileCopyrightText: 2022 unman <unman@thirdeyesecurity.org>
2023-11-13 09:33:28 -05:00
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
"{{ slsdotpath }}-shutdown":
qvm.shutdown:
- name: {{ slsdotpath }}
- flags:
- force
"{{ slsdotpath }}-stop-syncthing-from-starting":
qvm.features:
- name: {{ slsdotpath }}
- disable:
- service.syncthing-server
2023-11-13 09:33:28 -05:00
{% from 'utils/macros/policy.sls' import policy_unset with context -%}
{{ policy_unset(sls_path, '80') }}