Skip to content
Snippets Groups Projects
Commit 95e1fbc9 authored by skorpy's avatar skorpy :construction_worker:
Browse files

wireguard/dn42: ifreload on changes

parent 82302300
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -24,6 +24,12 @@
- pkg: wireguard
- source: salt://wireguard/files/dn42-interfaces-wireguard.j2
ifreload-wg-dn42:
cmd.run:
- name: /sbin/ifreload -af
- onchanges:
- file: /etc/network/interfaces.d/dn42-wireguard
/etc/ferm/conf.d/50-dn42-wireguard.conf:
file.managed:
- source: salt://wireguard/files/dn42-ferm.conf.j2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment