diff options
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | data/systemd/redshift-gtk.service.in | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index f703c28..675fda8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,7 +30,8 @@ _DESKTOP_FILES = \ data/applications/redshift-gtk.desktop SYSTEMD_USER_UNIT_IN_FILES = \ - data/systemd/redshift.service.in + data/systemd/redshift.service.in \ + data/systemd/redshift-gtk.service.in # Icons diff --git a/data/systemd/redshift-gtk.service.in b/data/systemd/redshift-gtk.service.in new file mode 100644 index 0000000..4675ccf --- /dev/null +++ b/data/systemd/redshift-gtk.service.in @@ -0,0 +1,11 @@ +[Unit] +Description=Redshift display colour temperature adjustment (GUI) +Documentation=http://jonls.dk/redshift/ +After=display-manager.service + +[Service] +ExecStart=@bindir@/redshift-gtk +Restart=always + +[Install] +WantedBy=default.target |