Added .cymais.service suffix to make cymais files more visible

This commit is contained in:
2024-01-10 11:18:38 +01:00
parent f3ce00dca7
commit b7e3a7f838
68 changed files with 144 additions and 132 deletions

View File

@@ -1,10 +1,10 @@
[Unit]
Description=set MTU
Before=wg-quick@wg0.service
Before=wg-quick@wg0.cymais.service
[Service]
Type=oneshot
ExecStart=bash /usr/local/bin/set-mtu.sh
[Install]
RequiredBy=wg-quick@wg0.service
RequiredBy=wg-quick@wg0.cymais.service

View File

@@ -1,6 +1,6 @@
- name: "restart set-mtu.service"
- name: "restart set-mtu.cymais.service"
systemd:
name: set-mtu.service
name: set-mtu.cymais.service
state: restarted
enabled: yes
daemon_reload: yes

View File

@@ -1,11 +1,11 @@
- name: create set-mtu.service
- name: create set-mtu.cymais.service
copy:
src: set-mtu.service
dest: /etc/systemd/system/set-mtu.service
notify: restart set-mtu.service
dest: /etc/systemd/system/set-mtu.cymais.service
notify: restart set-mtu.cymais.service
- name: create set-mtu.sh
template:
src: set-mtu.sh.j2
dest: /usr/local/bin/set-mtu.sh
notify: restart set-mtu.service
notify: restart set-mtu.cymais.service