docker-selfoss/docker-entrypoint.sh

15 lines
262 B
Bash
Raw Normal View History

2016-06-27 20:45:06 +00:00
#!/bin/bash
set -e
SELFOSSDATA=/var/lib/selfoss
SELFOSSPROG=/home/selfoss
function setup_selfoss() {
}
trap "shut_down" SIGKILL SIGTERM SIGHUP SIGINT EXIT
/bin/chown selfoss:selfoss ${SELFOSSDATA}
/bin/su - selfoss -c 'php -S 0.0.0.0:8080 -t /home/selfoss'