exec 2>&1
exec sudo -u postgres /usr/lib/postgresql/9.2/bin/postmaster -D /etc/postgresql/9.2/main
+ - exec:
+ cmd:
+ - mkdir -p /var/run/sshd
+ - mkdir -p /root/.ssh
+ - echo $ssh_key >> /root/.ssh/authorized_keys
- exec:
cd: $home
- ln -s /shared/uploads $home/public/uploads
- chown -R discourse /shared/uploads
- chown -R discourse /shared/log/rails
- - exec:
- cmd:
- - mkdir -p /var/run/sshd
- - mkdir -p /root/.ssh
- - echo $ssh_key >> /root/.ssh/authorized_keys
- exec:
cmd:
- "cp $home/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf"