Guest User

Untitled

a guest
Dec 8th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # /etc/systemd/system/gaweb.service
  2. [Unit]
  3. Description=gopheracademy website
  4.  
  5. [Service]
  6. PIDFile=/tmp/gaweb.pid-3001
  7. User=gaweb
  8. Group=gaweb
  9. Environment=GO_ENV=production
  10. Environment=POSTGRES_PASSWORD=SomePassWord
  11. Environment=PORT=3001
  12. WorkingDirectory=/home/gaweb/go/src/github.com/bketelsen/gaweb
  13. ExecStart=/bin/bash -c '/home/gaweb/go/src/github.com/bketelsen/gaweb/gaweb'
  14.  
  15. [Install]
  16. WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment