Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yoloftw/node-wings-restart
Node-Wings-Restart is a Node.js app designed to automate the process of restarting the wings service for pterodactyl
https://github.com/yoloftw/node-wings-restart
node node-schedule pterodactyl pterodactyl-wings wings
Last synced: 2 months ago
JSON representation
Node-Wings-Restart is a Node.js app designed to automate the process of restarting the wings service for pterodactyl
- Host: GitHub
- URL: https://github.com/yoloftw/node-wings-restart
- Owner: YoloFTW
- License: mit
- Created: 2023-10-08T16:09:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-29T11:09:16.000Z (6 months ago)
- Last Synced: 2024-10-07T19:48:05.050Z (3 months ago)
- Topics: node, node-schedule, pterodactyl, pterodactyl-wings, wings
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Node-Wings-Restart
[![Status](https://img.shields.io/badge/status-active-success.svg)]()
[![GitHub Issues](https://img.shields.io/github/issues/YoloFTW/Node-Wings-Restart.svg)](https://github.com/YoloFTW/Node-Wings-Restart/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/YoloFTW/Node-Wings-Restart.svg)](https://github.com/YoloFTW/Node-Wings-Restart/pulls)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)---
## 📝 Table of Contents
- [About](#about)
- [Installing](#installing)
- [Configuration](#Configuration)
- [Usage](#usage)
- [License](#License)
- [Contribution](#Contribution)
- [Authors](#authors)
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:
```bash
git clone https://github.com/YoloFTW/node-wings-restart.gitcd 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:
```bash
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.
## License
This project is licensed under the MIT License. See the [LICENSE](/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](https://cybrancee.com/andreisawesome)
- [@YoloFTW](https://github.com/YoloFTW)