From f64ed9ebda0c6999d4acd8f0b6a9d4456468934a Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 13 Aug 2026 14:24:22 -0700 Subject: [PATCH] vpn, correct the name of the service to match what some distros automatically add, that way two daemons are not running at once. --- tasks/workstation/linux/software/vpn.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tasks/workstation/linux/software/vpn.yml b/tasks/workstation/linux/software/vpn.yml index e9b55df..c9a4e68 100644 --- a/tasks/workstation/linux/software/vpn.yml +++ b/tasks/workstation/linux/software/vpn.yml @@ -90,10 +90,16 @@ - echo "./{{ mullvad_exe }}" >> {{ 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: src: "{{ runit_script_dir }}/mullvad-daemon" - dest: "{{ runit_service_dir }}/mullvad" + dest: "{{ runit_service_dir }}/mullvad-daemon" state: link force: true 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"