vpn, correct the name of the service to match what some distros automatically add, that way two daemons are not running at once.

This commit is contained in:
me
2026-08-13 14:24:22 -07:00
parent 66987a59ce
commit f64ed9ebda
+8 -2
View File
@@ -90,10 +90,16 @@
- echo "./{{ mullvad_exe }}" >> {{ mullvad_exe_new }} - echo "./{{ mullvad_exe }}" >> {{ mullvad_exe_new }}
- chmod +x {{ mullvad_exe_new }} - chmod +x {{ mullvad_exe_new }}
- name: Workstation | Software | VPN | Mullvad | Enable (runit) - name: Workstation | Software | VPN | Mullvad | runit | Enable Service (mullvad-daemon)
file: file:
src: "{{ runit_script_dir }}/mullvad-daemon" src: "{{ runit_script_dir }}/mullvad-daemon"
dest: "{{ runit_service_dir }}/mullvad" dest: "{{ runit_service_dir }}/mullvad-daemon"
state: link state: link
force: true force: true
when: ansible_service_mgr == "runit" when: ansible_service_mgr == "runit"
- name: Workstation | Software | VPN | Mullvad | runit | Remove Old Service (mullvad)
file:
path: "{{ runit_service_dir }}/mullvad"
state: absent
when: ansible_service_mgr == "runit"