Add posix_kill() SIGTERM for Friendica
This commit is contained in:
parent
2ac37b2d45
commit
73a9db84ee
|
@ -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