Created
August 14, 2018 07:07
-
-
Save mazhar266/6f9d3480e38b329f2bf227513d41a160 to your computer and use it in GitHub Desktop.
golang.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description= instance to serve jobs api | |
After=network.target | |
[Service] | |
User=root | |
Group=www-data | |
ExecStart=/home/path/to/binary/you/uploaded(which in my case is/var/www/go/jobs) | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment