mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added .cymais.service suffix to make cymais files more visible
This commit is contained in:
@@ -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
|
@@ -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
|
@@ -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
|
||||
|
Reference in New Issue
Block a user