From: AJ ONeal Date: Fri, 26 Jun 2020 09:10:41 +0000 (+0000) Subject: show ./server.js explicitly X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=79d4e2652dc493d4aef96dab330230af37d6bc2e;p=webi-installers%2F.git show ./server.js explicitly --- diff --git a/serviceman/README.md b/serviceman/README.md index 57fff04..d071731 100644 --- a/serviceman/README.md +++ b/serviceman/README.md @@ -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