Created
December 10, 2015 17:17
-
-
Save jschpp/34f6fb845ac6e86514bf to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
[Unit] | |
Description=Control go reverse Proxy | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/revprox | |
ExecReload=/bin/kill $MAINPID && /usr/bin/revprox | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment