diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-29 00:48:11 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-29 00:48:11 -0500 |
commit | a9935b7a12a522937d91cb44a0e138132b555e16 (patch) | |
tree | 379c9846d85a43c8fdeefcf268e3ea0e10891758 /.config/systemd/user/redshift@.service | |
parent | 435a7b5e8e590240340232cc1832ead32b87adc6 (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@.service | 6 |
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 |