]> git.mxchange.org Git - friendica.git/blobdiff - bin/daemon.php
fixed spelling of Cheshire
[friendica.git] / bin / daemon.php
index 7182cb8eca8f58dede6595bc0278fabb2f204458..e550aea891ed157adad7b585019598a68dab80b5 100755 (executable)
@@ -76,8 +76,8 @@ DI::config()->reload();
 if (empty(DI::config()->get('system', 'pidfile'))) {
        die(<<<TXT
 Please set system.pidfile in config/local.config.php. For example:
-    
-    'system' => [ 
+
+    'system' => [
         'pidfile' => '/path/to/daemon.pid',
     ],
 TXT
@@ -247,5 +247,6 @@ while (true) {
 }
 
 function shutdown() {
+       posix_kill(posix_getpid(), SIGTERM);
        posix_kill(posix_getpid(), SIGHUP);
 }