Describe the bug
Redshift does not trigger any hooks.
According to #335 hooks are now also running on startup, but when I run redshift my hooks do not run (from what I can tell).
To Reproduce
Create an executable file ~/.config/redshift/hooks/test.sh with content:
#!/bin/sh
case $1 in
period-changed)
exec touch /home/ubuntu/myredshifthook
esac
Next I start redshift using redshift and I don't see the file being created.
Expected behavior
The hook should run and create the given file.
Software versions (please complete the following information):
- OS: Linux
- Redshift version: 1.12
- Distribution: Ubuntu 21.04
- Redshift installed from: "using apt-get"
Describe the bug
Redshift does not trigger any hooks.
According to #335 hooks are now also running on startup, but when I run
redshiftmy hooks do not run (from what I can tell).To Reproduce
Create an executable file
~/.config/redshift/hooks/test.shwith content:Next I start redshift using
redshiftand I don't see the file being created.Expected behavior
The hook should run and create the given file.
Software versions (please complete the following information):