aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-03-20 17:27:51 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2014-03-20 17:27:51 +0100
commit00bb68332dfda66c2e98708d8c5eae693016a877 (patch)
treeeb24f48c2dd4f1d552c4ca2e3ce44d62de39ac52 /HACKING
parentUpdate fedora spec file for Python3 dependency (diff)
parentAdd systemd user unit file for redshift-gtk (diff)
downloadredshift-ng-00bb68332dfda66c2e98708d8c5eae693016a877.tar.gz
redshift-ng-00bb68332dfda66c2e98708d8c5eae693016a877.tar.bz2
redshift-ng-00bb68332dfda66c2e98708d8c5eae693016a877.tar.xz
Merge branch 'systemd-service'
Add systemd user unit files for redshift and redshift-gtk. Fixes #35, fixes #50.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING12
1 files changed, 10 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index 98d6b1e..74b0353 100644
--- a/HACKING
+++ b/HACKING
@@ -8,9 +8,17 @@ The bootstrap script will use autotools to set up the build environment
and create the `configure` script.
Use `./configure --help' for options. Use `--prefix' to make an install in
-your home directory. This is necessary to test python scripts. Example:
+your home directory. This is necessary to test python scripts. The systemd
+user unit directory should be set to avoid writing to the system location.
- $ ./configure --prefix=$HOME/redshift/root
+Systemd will look for the unit files in `~/.config/systemd/user` so this
+directory can be used as a target if the unit files will be used. Otherwise
+the location can be set to `no` to disable the systemd files.
+
+Example:
+
+ $ ./configure --prefix=$HOME/redshift/root \
+ --with-systemduserunitdir=$HOME/.config/systemd/user
Now, build the files: