mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
handle second daemon
This commit is contained in:
parent
87cacff501
commit
0d4d60cef5
1 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,17 @@
|
|||
state: restarted
|
||||
when: remoteit_enabled
|
||||
|
||||
- name: Find the uuid for the connector
|
||||
shell: ls /etc/systemd/system/multi-user.target.wants/ | grep remoteit
|
||||
register: remoteit_service
|
||||
|
||||
- name: Stop the uuid {{ remoteit_service.stdout }}
|
||||
systemd:
|
||||
name: "{{ remoteit_service.stdout }}"
|
||||
enabled: no
|
||||
state: stopped
|
||||
when: not remoteit_enabled and not remoteit_service.stdout == ""
|
||||
|
||||
- name: Disable & Stop remote.it's connectd daemon
|
||||
systemd:
|
||||
name: connectd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue