11 lines
260 B
Bash
11 lines
260 B
Bash
#!/bin/sh
|
|
|
|
# Create user and group
|
|
addgroup -g ${GID} rainloop && adduser -h /rainloop -s /bin/sh -D -G rainloop -u ${UID} rainloop
|
|
|
|
# Set permissions
|
|
chown -R rainloop:rainloop /rainloop /var/lib/nginx
|
|
|
|
# RUN !
|
|
supervisord -c /etc/supervisor/supervisord.conf
|