Skip to content
Snippets Groups Projects
Commit 2d9205d3 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Merge branch 'master' of github.com:indiehosters/indiehosters

parents 6edb858f 69ba357b
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@ if [ $# -ge 2 ]; then
DOMAIN=$1
IMAGE=$2
else
echo "Usage: sh /data/indiehosters/scripts/activate-user domain image [gitrepo]"
echo "Usage: sh /data/indiehosters/scripts/activate-user.sh domain image [gitrepo]"
exit 1
fi
mkdir -p /data/per-user/$DOMAIN/nginx/data
mkdir -p /data/per-user/$DOMAIN/$IMAGE/data
if [ $# -ge 3 ]; then
GITREPO=$3
echo $GITREPO > /data/per-user/$DOMAIN/nginx/data/git-url.txt
echo $GITREPO > /data/per-user/$DOMAIN/$IMAGE/data/git-url.txt
fi
# Start service for new site (and create the user). This will also enable the git puller.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment