ratpoison: rework systemd service file

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-17 20:42:47 +02:00
parent 487612e847
commit 63ed79d0a0

View File

@ -1,14 +1,14 @@
[Unit]
Description=Ratpoison Window Manager
After=xorg.target
Requires=xorg.target graphical.target
Requires=xorg.service
After=xorg.service
[Service]
Environment=DISPLAY=:0
# ExecStart=/bin/sh -c 'sleep 1; exec /usr/bin/ratpoison'
ExecStart=/usr/bin/ratpoison --file /etc/ratpoisonrc
KillMode=process
Restart=always
RestartSec=1
[Install]
WantedBy=graphical.target