Skip to content

Instantly share code, notes, and snippets.

Tamás Gulácsi tgulacsi

  • UNO-SOFT Computing Ltd.
  • Budapest, Hungary
Block or report user

Report or block tgulacsi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View jwt.go
package main
import (
jwt ""
func main() {
tgulacsi /
Last active Feb 15, 2019
Using runit as a supervisor for Caddy


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:

  • it can setup & manage the listening sockets, and pass it to your app (if it can accept it - not hard, just have to be ready for it),

Keybase proof

I hereby claim:

  • I am tgulacsi on github.
  • I am 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:

View gist:482b482017f8a0b426c3
Verifying I am +tgulacsi on my passcard.
tgulacsi / lockfree.go
Last active Aug 29, 2015 — forked from vessenes/lockfree.go
simple Go map - not lockfree, but GC-friendly
View lockfree.go
package main
import (
You can’t perform that action at this time.