#400: support for reloading daemon configuration files
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [EMAIL PROTECTED]
Type: defect | Status: reopened
Priority: high | Milestone: initng 0.6.2
Component: Feature Requests Initng Source | Version: initng-0.6.2SVN
Severity: normal | Resolution:
Keywords: |
--------------------------------------------+-------------------------------
Changes (by biebl):
* resolution: fixed =>
* status: closed => reopened
Comment:
I'm using the latest SVN [4194] but it does not work for me unfortunately.
I tested with the following i-file:
{{{
daemon daemon/apache2 {
need = system/bootmisc net;
use = daemon/sshd daemon/mysql daemon/postgres system/netmount;
respawn;
env APACHE2_OPTS=-k start;
env_file = /etc/default/apache2;
exec daemon = /usr/sbin/apache2 ${APACHE2_OPTS};
exec reload = apache2ctl graceful;
pid_file = /var/run/apache2.pid;
forks;
}
}}}
After ngc -u daemon/apache2, I tried ngc -U daemon/apache2:reload, but ngc
only returns "Command NEGATIVE." and nothing else happens, meaning apache2
is not reloaded. I'm reopening the bug therefore.
--
Ticket URL: <http://www.initng.org/ticket/400>
InitNG <http://www.initng.org/>
The Next Generation InitSystem--
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng