Add posix_kill() SIGTERM for Friendica

pull/12960/head
Philipp 2023-03-30 19:56:51 +02:00
parent 2ac37b2d45
commit 73a9db84ee
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
1 changed files with 3 additions and 2 deletions

View File

@ -247,5 +247,6 @@ while (true) {
}
function shutdown() {
posix_kill(posix_getpid(), SIGTERM);
posix_kill(posix_getpid(), SIGHUP);
}