Skip to content

Instantly share code, notes, and snippets.

@j0hnsmith
Created October 13, 2014 13:47
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 j0hnsmith/90f5c4ce7f66ad8a0abc to your computer and use it in GitHub Desktop.
Save j0hnsmith/90f5c4ce7f66ad8a0abc to your computer and use it in GitHub Desktop.
baseimage-docker/issues/151
FROM phusion/baseimage:0.9.13
ADD run /etc/service/foo/run
ADD log_run /etc/service/foo/log/run
CMD ["/sbin/my_init"]
#!/bin/bash -ex
mkdir -p /var/log/foo
exec svlogd -tt /var/log/foo
#!/bin/sh
sleep 30
echo 'now starting'
exec sleep 30 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment