aboutsummaryrefslogtreecommitdiffstats
path: root/data/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'data/systemd')
-rw-r--r--data/systemd/redshift-gtk.service.in4
-rw-r--r--data/systemd/redshift.service.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/data/systemd/redshift-gtk.service.in b/data/systemd/redshift-gtk.service.in
index 4675ccf..79e6165 100644
--- a/data/systemd/redshift-gtk.service.in
+++ b/data/systemd/redshift-gtk.service.in
@@ -1,11 +1,11 @@
[Unit]
Description=Redshift display colour temperature adjustment (GUI)
Documentation=http://jonls.dk/redshift/
-After=display-manager.service
+After=graphical-session.target
[Service]
ExecStart=@bindir@/redshift-gtk
Restart=always
[Install]
-WantedBy=default.target
+WantedBy=graphical-session.target
diff --git a/data/systemd/redshift.service.in b/data/systemd/redshift.service.in
index bc51514..aad31ca 100644
--- a/data/systemd/redshift.service.in
+++ b/data/systemd/redshift.service.in
@@ -1,11 +1,11 @@
[Unit]
Description=Redshift display colour temperature adjustment
Documentation=http://jonls.dk/redshift/
-After=display-manager.service
+After=graphical-session.target
[Service]
ExecStart=@bindir@/redshift
Restart=always
[Install]
-WantedBy=default.target
+WantedBy=graphical-session.target