show ./server.js explicitly
authorAJ ONeal <aj@therootcompany.com>
Fri, 26 Jun 2020 09:10:41 +0000 (09:10 +0000)
committerAJ ONeal <aj@therootcompany.com>
Fri, 26 Jun 2020 09:10:41 +0000 (09:10 +0000)
serviceman/README.md

index 57fff04d70476eb960c4302f8e343b42e5c5af86..d071731d3bae40bd8906ce3371f54477d55117a3 100644 (file)
@@ -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