This project is just an external tool for Node Pilot that allow user to setup it as service using systemd. This will allow your system start Node Pilot after a reboot and after docker service is up and running. With this you can also check service status, disable, start, stop, restart and even uninstall service.
- Clone:
git clone https://github.com/jorgecuesta/np-cli.git && cd np-cli
- Grant Execution:
chown +x np_cli.sh
- Use:
- Install Service:
./np_cli.sh install [-p <abs_path_to_np>] [-u <username_to_run_np>]
-p and -u are optionals. -p will look np at home of current user. -u will take current session user. - Uninstall Service:
./np_cli.sh uninstall
- Start Service:
./np_cli.sh start
- Stop Service:
./np_cli.sh stop
- Restart Service:
./np_cli.sh restart
- Status Service:
./np_cli.sh status
- Disable Service (disable auto start on reboot):
./np_cli.sh disable
- Enable Service: (enable auto start on reboot)
./np_cli.sh enable
- Install Service: