diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-02-21 14:51:52 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-02-21 14:56:29 +0100 |
commit | 9da237b6202c203def8a77f4690ac06791096ea8 (patch) | |
tree | acae7e4c3e4b0b33e198715dfe170a3e1e03d403 /.config/systemd/user/xorg.service | |
parent | c91953ca7bcb4d89d7de35f6d0634fe6931d6fcd (diff) | |
download | dotfiles-9da237b6202c203def8a77f4690ac06791096ea8.tar.gz dotfiles-9da237b6202c203def8a77f4690ac06791096ea8.tar.bz2 dotfiles-9da237b6202c203def8a77f4690ac06791096ea8.zip |
Add initial systemd user service units for awesome and screen
Diffstat (limited to '.config/systemd/user/xorg.service')
-rw-r--r-- | .config/systemd/user/xorg.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/systemd/user/xorg.service b/.config/systemd/user/xorg.service new file mode 100644 index 0000000..1aaa1ed --- /dev/null +++ b/.config/systemd/user/xorg.service @@ -0,0 +1,23 @@ + +# +# Minimal Xorg service file - launches Xorg as a service unit +# + +# The Xorg launch helper forks, launches Xorg and waits for Xorg to +# accept incoming connections to $DISPLAY, and then signals READY +# to systemd. This guarantees that services that require access to +# $DISPLAY during the session don't start too early. +# +# If you implement a service that requires access to $DISPLAY, your +# service unit file needs to include 'After=xorg.target'. + +[Unit] +Description=Xorg server launch helper +Before=xorg.target + +[Service] +Type=notify +ExecStart=/usr/bin/xorg-launch-helper :0 -nolisten tcp -noreset -ardelay 250 -arinterval 20 vt1 +Restart=always +RestartSec=10 + |