#801848 iwatch: Typo in /etc/default/iwatch makes it unable to start

#801848#5
Date:
2015-10-15 08:38:16 UTC
From:
To:
In /etc/default/iwatch is defined CONFIG_FILE variable, but iwatch
expects CONFIGFILE defined.
This makes iwatch unable to start.

#801848#10
Date:
2015-11-27 15:34:21 UTC
From:
To:
I had a similar issue on current Jessie with iwatch 0.2.2-3. After
installation and configuration iwatch does not start:

apt-get install iwatch
set "START_DAEMON=true" in /etc/default/iwatch

but

systemctl start iwatch.service
or
/etc/init.d/iwatch start

do not start the iwatch daemon. No error, no warning, simply nothing.

After a reboot everything is OK. Something needs to be restarted after
installation; i did not find out what.  But it has nothing to do with
CONFIG_FILE, this is the correct syntax.

#801848#15
Date:
2015-11-28 16:59:22 UTC
From:
To:
tags 801848 wontfix
thanks


Hi all,

Yes, as Helmar said, the CONFIG_FILE is correct. This variable is used
by /etc/init.d/iwatch script, not by iwatch program.

The problem is caused by systemd and will need a manual action because
the systemd upstream do not want autoreloads. You can see more details
in #790262 [1].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790262

What to do? Please, follow the steps:

1. Install iwatch via APT.

2. Change the /etc/default/iwatch

3. Run # systemctl daemon-reload

4. Run # /etc/init.d/iwatch restart

Please, let me to know if these actions solve the problem. I intend to
add these steps in README.Debian file.

Regards,

Eriberto





2015-11-27 13:34 GMT-02:00 Helmar Gerloni <helmar@gerloni.net>: