| By Date: | <-- --> |
| By Thread: | <-- --> |
Ilias Lazaridis wrote:V0.93 with tracd on debian with apache.
when I update the htdigest file (e.g. change of a users password), trac recognizes the new password only after a restart of tracd.
My questions:
a) can I avoid the need of the tracd restart?
so, the restart is necessary?
b) if not, how can I automate the tracd restart?
sudo kill <process-id-of-tracd-daemon> tracd ...
I retrieve the <process-id> manually via "ps -U <user>"
-
I've not enough unix bash knowledge to provide a possible solution:
* provide a script which contains the tracd start code * script should store the returned process id into a file. * a "restart" retrieves the process-id, kills and launches again.
./tracdrun start ./tracdrun stop ./tracdrun restart
.
When starting tracd put the output from the start into a file.
tracd -d -p 8000 path/to/your/project > /var/tracd.pid
The tracd.pid file will contain the pid at the end of the line.
ok, sounds good.
but how do I use this to make the kill?
.
-- http://lazaridis.com
_______________________________________________ Trac mailing list Trac (at) lists.edgewall.com http://lists.edgewall.com/mailman/listinfo/trac