diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2014-03-20 01:34:05 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2014-03-20 17:27:00 +0100 |
commit | fd6cb64a746836bd4653bdff88959b4902354f64 (patch) | |
tree | 9884a5a9b384ae3fd4f2d23d9ea73dc1d3a8e838 | |
parent | Add systemd .service file for redshift (diff) | |
download | redshift-ng-fd6cb64a746836bd4653bdff88959b4902354f64.tar.gz redshift-ng-fd6cb64a746836bd4653bdff88959b4902354f64.tar.bz2 redshift-ng-fd6cb64a746836bd4653bdff88959b4902354f64.tar.xz |
Add systemd user unit file for redshift-gtk
-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 |