4 ms·
So far, copy the binary to the server, add it as a service in upstart, and start the service. When updating the application, copy the binary to the server and
by MindTwister 13y ago
So far, copy the binary to the server, add it as a service in upstart, and start the service.
When updating the application, copy the binary to the server and restart the service.
- simonw 13y agoCould you share an example upstart configuration?
- realrocker 13y agoSorry for the self-plug: https://coderwall.com/p/iekaog https://coderwall.com/p/iekaog. Too big to post here.
- simonw 13y agoThanks, very handy.
- MindTwister 13y agoSaves me the trouble ^^ I actually think i got the inspiration for mine from that post.
- borton 13y agoSee the upstart documentation for examples. There are no special requirements for running a Go program with upstart.