Node-Wings-Restart is a Node.js app designed to automate the process of restarting the wings service for pterodactyl by running the "service wings restart" command periodically. This app is particularly useful for managing game servers, web applications, or any service that requires periodic restarts to ensure optimal performance.
To install Node-Wings-Restart, clone the Git repository to your local machine:
git clone https://github.com/YoloFTW/node-wings-restart.git
cd node-wings-restart
npm install
To configure Node-Wings-Restart edit the .env file with the correct time and discord webhook url.
The default time is set at 00:00:00 each day.
You can also edit the "TITLE" variable to change how the module is reflected in the webhook message.
To start Node-Wings-Restart, run the following command:
node index.js
Once configured and started, Node-Wings-Restart will handle the automatic restarts of your wings service as per the defined schedule. It will also send status updates to the specified Discord webhook after each restart.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! If you find a bug or have any suggestions, please open an issue or create a pull request.
This has been sponsored by Cybrancee