Add a systemd user .service file to allow users to run redshift as a daemon using systemd. Also adds a new configure option, `--with-systemduserunitdir`, which gives the install path. If set to `no`, systemd support is disabled. If not set, we use `pkg-config` to find the path.
12 lines
225 B
Plaintext
12 lines
225 B
Plaintext
[Unit]
|
|
Description=Redshift display colour temperature adjustment
|
|
Documentation=http://jonls.dk/redshift/
|
|
After=display-manager.service
|
|
|
|
[Service]
|
|
ExecStart=@bindir@/redshift
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=default.target
|