Go program, that does literally nothing, but runs forever (until stopped).
- Just for fun
- Maybe used as docker entrypoint
lazy-gopher
CMD ["/lazy-gopher"]
[Unit]
Description=Lazy Gopher
[Service]
Type=simple
Restart=always
RestartSec=5s
ExecStart=/usr/local/bin/lazy-gopher
[Install]
WantedBy=multi-user.target
make binary
CGO_ENABLED=0 go build github.com/kyberorg/lazy-gopher/cmd/lazy-gopher
This requires upx
make compress-binary
upx --brute bin/lazy-gopher