Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmmp/pcntlsignalhandler
[deprecated] PocketMine-MP plugin to allow stopping the server gracefully using CTRL+C
https://github.com/pmmp/pcntlsignalhandler
pocketmine-plugin
Last synced: 3 months ago
JSON representation
[deprecated] PocketMine-MP plugin to allow stopping the server gracefully using CTRL+C
- Host: GitHub
- URL: https://github.com/pmmp/pcntlsignalhandler
- Owner: pmmp
- License: lgpl-3.0
- Archived: true
- Created: 2019-01-16T15:39:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-03T20:47:04.000Z (over 4 years ago)
- Last Synced: 2024-09-26T09:43:36.496Z (3 months ago)
- Topics: pocketmine-plugin
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PcntlSignalHandler
PocketMine-MP plugin to allow stopping the server gracefully using CTRL+C## Installing
### Requirements
The PHP binary you use for PocketMine-MP must include the `pcntl` extension.
Drop it in your `plugins` directory and restart the server. No additional setup is necessary.## Caveats
You won't be able to use CTRL+C to abort the server. If your server hangs, you'll need to do the following:
- Escape from the server console. You can do this with CTRL+Z.
- Run `kill -9 $(pidof php)` to kill the zombie server.