Created
February 3, 2017 00:25
-
-
Save 74th/9c74907b8d7e262c9cce4e1f289db927 to your computer and use it in GitHub Desktop.
Systemd godoc 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=godoc service | |
#Before=nginx | |
[Service] | |
Type=simple | |
USER=jenkins | |
GROUP=jenkins | |
Environment=GOPATH=/var/lib/jenkins/gopath/ | |
Environment=GOROOT=/var/lib/jenkins/goroot/go1.7.3/ | |
ExecStart=/var/lib/jenkins/goroot/go1.7.3/bin/godoc -http :8032 -play | |
[Install] | |
WantedBy=multi-user.target |
Author
74th
commented
Feb 3, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment