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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user