I hereby claim:
- I am tgulacsi on github.
- I am tgulacsi (https://keybase.io/tgulacsi) on keybase.
- I have a public key whose fingerprint is 2799 AB1A F982 C4FD FF02 1693 7661 4AF3 9ECD 9AD1
To claim this, I am signing this object:
package main | |
import ( | |
"bytes" | |
"errors" | |
"flag" | |
"log" | |
"os" | |
"runtime" | |
"strconv" |
Verifying I am +tgulacsi on my passcard. https://onename.com/tgulacsi |
I hereby claim:
To claim this, I am signing this object:
A supervisor's main task, is to start a specified process (in a specified environment), watch it running, and do something when it ends - usually based on the exit code.
From my experience, the environment setup can be a complex task (consult some config management for the required ports, actualize the config file from the central config management...), and this is where the most featureful supervisor (systemd, AFAIK) falls short:
package main | |
import ( | |
"fmt" | |
"log" | |
jwt "github.com/dgrijalva/jwt-go" | |
) | |
func main() { |