Merge pull request #12960 from nupplaphil/feat/sigterm_cron
Add posix_kill() SIGTERM for Friendica
This commit is contained in:
commit
209489d9e1
1 changed files with 3 additions and 2 deletions
|
@ -247,5 +247,6 @@ while (true) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function shutdown() {
|
function shutdown() {
|
||||||
|
posix_kill(posix_getpid(), SIGTERM);
|
||||||
posix_kill(posix_getpid(), SIGHUP);
|
posix_kill(posix_getpid(), SIGHUP);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue