Ver código fonte

xsession management

timer
pai
commit
9861a0f6cc
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      templates/i3/i3wm.service.j2
  2. +1
    -1
      templates/vnc/vncserver.service.j2

+ 1
- 1
templates/i3/i3wm.service.j2 Ver arquivo

@@ -3,9 +3,9 @@ Description=i3 Window Manager
PartOf=graphical-session.target

[Service]
Type=exec
ExecStart=i3
ExecStopPost=/bin/systemctl --user stop graphical-session.target
Restart=on-failure

[Install]
RequiredBy=xsession.target

+ 1
- 1
templates/vnc/vncserver.service.j2 Ver arquivo

@@ -20,7 +20,7 @@ After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/bin/vncserver %i
ExecStart=/usr/bin/vncserver -autokill %i
ExecStop=/usr/bin/vncserver -kill %i

[Install]