Sfoglia il codice sorgente

xsession reload service

systemd-xsession
parent
commit
325fe411e8
2 ha cambiato i file con 24 aggiunte e 0 eliminazioni
  1. +13
    -0
      tasks/x11.yaml
  2. +11
    -0
      templates/x11/xsession-reload.service.j2

+ 13
- 0
tasks/x11.yaml Vedi File

@@ -22,6 +22,19 @@
dest: ~/.xsession.reload.fish
mode: 0755

- name: xsession reload service
template:
src: x11/xsession-reload.service.j2
dest: ~/.config/systemd/user/xsession-reload.service
mode: 0755
notify: systemd daemon-reload

- name: xsession reload service enabled
systemd:
name: xsession-reload.service
enabled: true
scope: user

- name: xsession systemd target
template:
src: x11/xsession.target.j2


+ 11
- 0
templates/x11/xsession-reload.service.j2 Vedi File

@@ -0,0 +1,11 @@
[Unit]
Description=X session reload settings
PartOf=graphical-session.target

[Service]
ExecStart=%h/.xsession.reload.fish
#Restart=always
#RestartSec=60s

[Install]
WantedBy=graphical-session.target