Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libre.sh
compose.libre.sh
Commits
2d9205d3
Commit
2d9205d3
authored
10 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of github.com:indiehosters/indiehosters
parents
6edb858f
69ba357b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/activate-user.sh
+3
-3
3 additions, 3 deletions
scripts/activate-user.sh
with
3 additions
and
3 deletions
scripts/activate-user.sh
+
3
−
3
View file @
2d9205d3
...
@@ -4,13 +4,13 @@ if [ $# -ge 2 ]; then
...
@@ -4,13 +4,13 @@ if [ $# -ge 2 ]; then
DOMAIN
=
$1
DOMAIN
=
$1
IMAGE
=
$2
IMAGE
=
$2
else
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
exit
1
fi
fi
mkdir
-p
/data/per-user/
$DOMAIN
/
nginx
/data
mkdir
-p
/data/per-user/
$DOMAIN
/
$IMAGE
/data
if
[
$#
-ge
3
]
;
then
if
[
$#
-ge
3
]
;
then
GITREPO
=
$3
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
fi
# Start service for new site (and create the user). This will also enable the git puller.
# Start service for new site (and create the user). This will also enable the git puller.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment