Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ uberspace-setup-service my-microservice node ~/html/my-microservice/node_modules/.bin/static --port 64188 -a 0.0.0.0
- Congratulations - the ~/service/my-microservice service is now ready to use!
- To control your service you'll need the svc command (hint: svc = service control):
- To start the service (hint: u = up):
- svc -u ~/service/my-microservice
- To stop the service (hint: d = down):
- svc -d ~/service/my-microservice
- To reload the service (hint: h = HUP):
- svc -h ~/service/my-microservice
- To restart the service (hint: du = down, up):
- svc -du ~/service/my-microservice
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement