From fd6cb64a746836bd4653bdff88959b4902354f64 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Thu, 20 Mar 2014 01:34:05 +0100 Subject: Add systemd user unit file for redshift-gtk --- Makefile.am | 3 ++- data/systemd/redshift-gtk.service.in | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 data/systemd/redshift-gtk.service.in 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 -- cgit v1.2.3-70-g09d2