Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/systemd/system/gaweb.service
- [Unit]
- Description=gopheracademy website
- [Service]
- PIDFile=/tmp/gaweb.pid-3001
- User=gaweb
- Group=gaweb
- Environment=GO_ENV=production
- Environment=POSTGRES_PASSWORD=SomePassWord
- Environment=PORT=3001
- WorkingDirectory=/home/gaweb/go/src/github.com/bketelsen/gaweb
- ExecStart=/bin/bash -c '/home/gaweb/go/src/github.com/bketelsen/gaweb/gaweb'
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment