| Crates.io | ServerLauncher |
| lib.rs | ServerLauncher |
| version | 0.1.1 |
| created_at | 2024-11-14 05:43:24.273779+00 |
| updated_at | 2024-11-14 10:45:26.911901+00 |
| description | A simple server launcher written in Rust |
| homepage | https://www.iotlearn.cn |
| repository | https://github.com/xsxz01/ServerLauncher |
| max_upload_size | |
| id | 1447454 |
| size | 23,108 |
About | Features | Technologies | Requirements | Starting | License | Author
A server launcher for starting and managing servers.
The following tools were used in this project:
Before starting :checkered_flag:, you need to have Git and Node installed.
cargo install ServerLauncher
mkdir lua
touch lua/main.rhai
lua/main.rhaifn start() {
run_script("/data/BDZC/LogServer/", "start.sh", "");
}
fn stop() {
run_script("/data/BDZC/LogServer/", "stop.sh", "");
}
startmethod: start the server
stopmethod: stop the server
run_scriptmethod: run the script,it has three parameters, the first is the path of the script, the second is the script name, the third is the script parameters.
# Clone this project
$ git clone https://github.com/xsxz01/ServerLauncher
# Access
$ cd ServerLauncher
# Build Binary Executable
$ cargo build
This project is under license from MIT. For more details, see the LICENSE file.
Made with :heart: by Pang