Skip to content

Commit

Permalink
Remove FFDON config files
Browse files Browse the repository at this point in the history
  • Loading branch information
awlx authored Nov 27, 2023
1 parent 1f99f2b commit 94e53e4
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions wgkex/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,10 @@ python3-pyroute2:
file.managed:
- source: salt://wgkex/wgkex.service

/etc/systemd/system/wgkex-ffdon.service:
file.managed:
- source: salt://wgkex/wgkex-ffdon.service

/etc/wgkex.yaml:
file.managed:
- source: salt://wgkex/wgkex.yaml

/etc/wgkex-ffdon.yaml:
file.managed:
- source: salt://wgkex/wgkex-ffdon.yaml

wgkex-service:
service.running:
Expand All @@ -33,15 +26,6 @@ wgkex-service:
- watch:
- file: /etc/wgkex.yaml

wgkex-ffdon-service:
service.dead:
- name: wgkex-ffdon
- enable: False
- require:
- file: /etc/wgkex-ffdon.yaml
- watch:
- file: /etc/wgkex-ffdon.yaml

systemd-reload-wgkex:
cmd.run:
- name: systemctl --system daemon-reload
Expand All @@ -50,12 +34,4 @@ systemd-reload-wgkex:
- watch_in:
- service: wgkex-service

systemd-reload-wgkex-ffdon:
cmd.run:
- name: systemctl --system daemon-reload
- onchanges:
- file: /etc/systemd/system/wgkex-ffdon.service
- watch_in:
- service: wgkex-ffdon-service

{% endif %}

0 comments on commit 94e53e4

Please sign in to comment.