valhallasw added a subscriber: coren.
valhallasw added a comment.
And thanks to @Coren I now have phawikibugs running under SGE in a sensible
way. The SGE config was changed to send SIGINT instead of SIGKILL, which makes
the wrapper script
```function on_EXIT()
{
echo Stopping all daemons...
phabricator/bin/phd stop
echo Done.
}
function on_USR1()
{
echo Received SIGUSR1
}
trap on_USR1 USR1
trap on_EXIT EXIT
echo Starting daemon via PHD!
phabricator/bin/phd launch phabricatorbot `pwd`/phab_config.json
echo Started. Sleep for ALL times!
```
work like a charm.
TASK DETAIL
https://phabricator.wikimedia.org/T573
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
To: valhallasw
Cc: wikibugs-l, Aklapper, chasemp, mmodell, Qgil, Dzahn, greg, Legoktm, Elitre,
valhallasw, Eloquence, Liuxinyu970226, Ladsgroup, Jdforrester-WMF, scfc, Revi,
coren, jeremyb
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l