Преглед на файлове

xsession reload service

systemd-xsession
Markus Katharina Brechtel преди 3 години
родител
ревизия
325fe411e8
променени са 2 файла, в които са добавени 24 реда и са изтрити 0 реда
  1. +13
    -0
      tasks/x11.yaml
  2. +11
    -0
      templates/x11/xsession-reload.service.j2

+ 13
- 0
tasks/x11.yaml Целия файл

@@ -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 Целия файл

@@ -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