Guest User

Untitled

a guest
Nov 18th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. description "start and stop the node server"
  2. version "1.0"
  3. author "Tim Caswell"
  4.  
  5.  
  6. # configuration variables.
  7. env PATH=/home/tim/nvm/v0.6.15/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
  8. env PORT=3002
  9.  
  10. respawn
  11. start on runlevel [23]
  12.  
  13. script
  14. cd /home/tim/nodemanual.org
  15. exec node server.js > access.log 2>> error.log
  16. end script
Add Comment
Please, Sign In to add comment