Reputation: 7275
Here's the description for god's restart command: restart <task or group name>
. The builtin init script does a kill, followed by a start. Is there really no built-in way to send a restart command to all watches whether they are grouped or not?
Upvotes: 5
Views: 3017
Reputation: 7937
For people reaching there looking for a current solution, please note this feature is now provided in 0.13.3 : if no parameter is given to start / stop / restart, it will be triggered on all watches.
Upvotes: 3
Reputation: 139
There is a way to restart all watches (it is a hack), but the below should produce the behavior. It terminates god and all tasks, then restarts god.
$ sudo god terminate && sudo /etc/init.d/god start
Upvotes: 5
Reputation: 9618
Nope, there isn't. You have to restart either each group or each individual process.
Upvotes: 0