ddurieux / glpi_monitoring

19 stars 20 forks source link

Shinken restart command #92

Open mohierf opened 10 years ago

mohierf commented 10 years ago

Shinken restart command should be :

nohup sh -c '/etc/init.d/shinken-arbiter stop && sleep 3 && /etc/init.d/shinken-arbiter start' > /dev/null 2>&1 &

When edited this command is corrupted : > are replaced with > ... and then Shinken does not restart !

mohierf commented 9 years ago

In fact, all commands edited are corrupted if they contain special characters: > are replaced with > ...

ddurieux commented 9 years ago

So we need to convert > to > to work?

mohierf commented 9 years ago

No ... we need to "not modify" what is entered in the edit field ... I suppose that Glpi do some kind of escaping, or do not :/P