mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
ratpoison: rework systemd service file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
487612e847
commit
63ed79d0a0
@ -1,14 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Ratpoison Window Manager
|
Description=Ratpoison Window Manager
|
||||||
After=xorg.target
|
Requires=xorg.service
|
||||||
Requires=xorg.target graphical.target
|
After=xorg.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=DISPLAY=:0
|
Environment=DISPLAY=:0
|
||||||
# ExecStart=/bin/sh -c 'sleep 1; exec /usr/bin/ratpoison'
|
|
||||||
ExecStart=/usr/bin/ratpoison --file /etc/ratpoisonrc
|
ExecStart=/usr/bin/ratpoison --file /etc/ratpoisonrc
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical.target
|
WantedBy=graphical.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user