Hi Antoine, > > I just tried running willie, but it seems that the "restart" and "stop" > > actions of the init script are broken. > > I don'T believe they are. I am using them here without problems. Interesting.
> One thing with this package is that the config file is not automatically
> configured right now, as explained in README.Debian. You need to run
> those commands when you install the package:
>
> chown willie /etc/willie.cfg
> sudo -u willie willie --config /etc/willie --configure-all
> chown root /etc/willie.cfg
Oh, I did indeed miss that. However, instead I modified DAEMON_ARGS
through /etc/default/willie to point to a preconfigured willie.cfg
living elsewhere, which I think should have the same effect.
From looking at the code, I also believe that neither of none of this
should actually prevent the problem from occuring: when running willie
--quit, no --config option is passed, so the only place willie will look
for a configuration is ~willie/.willie/default.cfg. I don't have that
file, do you?
To double-check, I ran the above configuration commands (which write to
/etc/willie.cfg as expected) and reverted my changes to the initscript.
If I run the stop action, I still get willie complaining:
matthijs@login:~$ sudo invoke-rc.d willie stop
Welcome to Willie!
I can't seem to find the configuration file, so let's generate it!
Perhaps on your system, /var/lib/willie/.willie/default.cfg somehow got
created, or perhaps willie's homedir isn't /var/lib/willie?
Gr.
Matthijs
signature.asc
Description: Digital signature

