Quellcode durchsuchen

vdesk config

systemd-xsession
Ursprung
Commit
a006b892ec
4 geänderte Dateien mit 26 neuen und 13 gelöschten Zeilen
  1. +13
    -0
      tasks/clean.yaml
  2. +11
    -0
      tasks/main.yaml
  3. +2
    -13
      tasks/vdesk.yaml
  4. +0
    -0
      templates/vdesk.service.j2

+ 13
- 0
tasks/clean.yaml Datei anzeigen

@@ -1 +1,14 @@
---

- name: disable and stop eralitex vdesk user service
systemd:
name: eralitex@:16.service
state: stopped
enabled: false
scope: user
failed_when: false

- name: remove eralitex user service
file:
path: ~/.config/systemd/user/eralitex@.service
state: absent

+ 11
- 0
tasks/main.yaml Datei anzeigen

@@ -20,3 +20,14 @@

- import_tasks: vdesk.yaml
when: home_desktop

- name: flush handlers
meta: flush_handlers

- name: enable and start vdesk user service
systemd:
name: vdesk@:16.service
state: started
enabled: true
scope: user
when: home_vdesk_started_and_enabled

+ 2
- 13
tasks/vdesk.yaml Datei anzeigen

@@ -2,17 +2,6 @@

- name: vdesk user service
template:
src: eralitex-vdesk.service.j2
dest: ~/.config/systemd/user/eralitex@.service
src: vdesk.service.j2
dest: ~/.config/systemd/user/vdesk@.service
notify: systemd daemon-reload

- name: flush handlers
meta: flush_handlers

- name: enable and start eralitex vdesk user service
systemd:
name: eralitex@:16.service
state: started
enabled: true
user: true
when: home_vdesk_started_and_enabled

templates/eralitex-vdesk.service.j2 → templates/vdesk.service.j2 Datei anzeigen