mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-08-08 11:18:34 +08:00
use sameersbn/ubuntu:12.04.20140418 as the base image
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
PS1='${debian_chroot:+($debian_chroot)}[\u@\h \W]# '
|
||||
|
||||
alias rm='rm -i'
|
||||
alias cp='cp -i'
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
se ai
|
||||
se sw=2 ts=2
|
||||
@@ -9,6 +9,7 @@ echo User: root Password: $ROOT_PASSWORD
|
||||
|
||||
# start supervisord
|
||||
/usr/bin/supervisord
|
||||
supervisorctl start sshd
|
||||
|
||||
appStart () {
|
||||
# fix permissions and ownership of /var/lib/postgresql
|
||||
|
||||
+1
-12
@@ -1,16 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p /var/run/sshd
|
||||
cat > /etc/supervisor/conf.d/sshd.conf <<EOF
|
||||
[program:sshd]
|
||||
directory=/
|
||||
command=/usr/sbin/sshd -D
|
||||
user=root
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
stderr_logfile=/var/log/supervisor/%(program_name)s_error.log
|
||||
EOF
|
||||
set -e
|
||||
|
||||
# listen on all interfaces
|
||||
cat >> /etc/postgresql/9.1/main/postgresql.conf <<EOF
|
||||
|
||||
Reference in New Issue
Block a user