Created
July 6, 2016 13:19
-
-
Save intuxicated/d0f178aeea24deca1fd7520c73dfc70f to your computer and use it in GitHub Desktop.
run it services
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Use the exec command to start the app you want to run in this container. | |
# Don't let the app daemonize itself. | |
# `/sbin/setuser memcache` runs the given command as the user `memcache`. | |
# If you omit that part, the command will be run as root. | |
# Read more here: https://github.com/phusion/baseimage-docker#adding-additional-daemons | |
exec /sbin/setuser postgres /usr/lib/postgresql/9.5/bin/postgres -D /usr/local/pgsql/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment