mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
show ./server.js explicitly
This commit is contained in:
@@ -25,7 +25,8 @@ add the `--dryrun` option.
|
||||
pushd ./my-node-app/
|
||||
|
||||
sudo env PATH="$PATH" \
|
||||
serviceman add --system --cap-net-bind npx nodemon
|
||||
serviceman add --system --cap-net-bind \
|
||||
npx nodemon ./server.js
|
||||
```
|
||||
|
||||
**Production Server**
|
||||
@@ -34,7 +35,8 @@ sudo env PATH="$PATH" \
|
||||
pushd ./my-node-app/
|
||||
|
||||
sudo env PATH="$PATH" \
|
||||
serviceman add --system --cap-net-bind npm start
|
||||
serviceman add --system --cap-net-bind \
|
||||
npm start
|
||||
```
|
||||
|
||||
### Golang
|
||||
|
||||
Reference in New Issue
Block a user