Skip to content

Instantly share code, notes, and snippets.

@JermineHu
Created February 12, 2019 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JermineHu/4a53a8e9eec0fa801696e94d84a6a8a8 to your computer and use it in GitHub Desktop.
Save JermineHu/4a53a8e9eec0fa801696e94d84a6a8a8 to your computer and use it in GitHub Desktop.
Docker, runit, and graceful termination
#!/bin/sh
export PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
exec runsvdir -P /etc/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment