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

Comments non working commands

parent 8b8b0c5f
No related branches found
No related tags found
No related merge requests found
#!/bin/bash -eux
mkdir -p /data/per-user/$1/nginx/data
touch /data/per-user/$1/nginx/.env
if [ -e /data/per-user/$1/nginx/data/www-content ]; then
cd /data/per-user/$1/nginx/data/www-content; git pull --rebase
# mkdir -p /data/per-user/$1/nginx/data
# if [ -e /data/per-user/$1/nginx/data/www-content ]; then
# cd /data/per-user/$1/nginx/data/www-content; git pull --rebase
# else
# git clone $3 /data/per-user/$1/nginx/data/www-content
fi
# fi
# Start service for new site (and create the user)
systemctl enable $2@$1.service
......
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