Skip to content

Instantly share code, notes, and snippets.

@jschpp
Created December 10, 2015 17:17
Show Gist options
  • Save jschpp/34f6fb845ac6e86514bf to your computer and use it in GitHub Desktop.
Save jschpp/34f6fb845ac6e86514bf to your computer and use it in GitHub Desktop.
#!/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