A small executable to create and manage services on nest.
- This only works on nest
- If you're reviewing or voting on my project for SoM please check out the Voting guide
curl -sSf https://raw.githubusercontent.com/Sushi-Mampfer/nest-setup/refs/heads/master/install.sh | sh
- Clone the repository:
git clone https://github.com/Sushi-Mampfer/nest-setup - cd into it:
cd nest-setup - Build it:
cargo build --release - Make the bin dir:
mkdir ~/.local/bin - Move the executable to it:
cp target/release/nest-setup ~/.local/bin/service(this names it service, you can change it to whatever you want)) - Use it:
service(Or whatever you named it))
The executable can automatically select a free port, to use it replace the port in your program with the enviroment variable PORT.
Usage: service
Commands: create creates a service start starts a service stop stops a service restart stops and starts a service enable enables a service disable disables a service delete deletes a service help Print this message or the help of the given subcommand(s)mmand(s)
Options: -h, --help Print help -V, --version Print versionon