Restart all divine tasks

Here is a description of the bot restart command: restart <task or group name> . The built-in init script executes kill, followed by the start. Is there a built-in way to send a reset command to all watches, are they grouped or not?

+4
source share
3 answers

No no. You must restart either each group or each individual process.

0
source

There is a way to restart all hours (this is a hack), but there should be a behavior below. He terminates God and all tasks, and then restarts God.

 $ sudo god terminate && sudo /etc/init.d/god start 
+4
source

For people who are looking for the current solution, please note that this function is now presented in 0.13.3: if the parameter is not set to start / stop / restart, it will work on all watches.

+2
source

Source: https://habr.com/ru/post/1387510/


All Articles