summaryrefslogtreecommitdiff
path: root/.config/systemd/user/redshift@.service
diff options
context:
space:
mode:
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