summaryrefslogtreecommitdiff
path: root/.config/systemd/user/redshift@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 00:48:11 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 00:48:11 -0500
commita9935b7a12a522937d91cb44a0e138132b555e16 (patch)
tree379c9846d85a43c8fdeefcf268e3ea0e10891758 /.config/systemd/user/redshift@.service
parent435a7b5e8e590240340232cc1832ead32b87adc6 (diff)
Re-jigger to use systemd for the process monitor for the window manager
Diffstat (limited to '.config/systemd/user/redshift@.service')
-rw-r--r--.config/systemd/user/redshift@.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/systemd/user/redshift@.service b/.config/systemd/user/redshift@.service
index 41a0b7a..149bb74 100644
--- a/.config/systemd/user/redshift@.service
+++ b/.config/systemd/user/redshift@.service
@@ -1,11 +1,11 @@
[Unit]
Description=Redshift display colour temperature adjustment
Documentation=http://jonls.dk/redshift/
+StopWhenUnneeded=true
[Service]
+Type=simple
Environment=DISPLAY=%I
ExecStart=/usr/bin/redshift
+ExecStopPost=/usr/bin/redshift -x
Restart=always
-
-[Install]
-WantedBy=default.target