Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-ICEcoder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Griefed
docker-ICEcoder
Commits
e0d56e87
Commit
e0d56e87
authored
4 years ago
by
Griefed
Browse files
Options
Downloads
Patches
Plain Diff
Update 60-config
parent
43058840
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
root/etc/cont-init.d/60-config
+5
-10
5 additions, 10 deletions
root/etc/cont-init.d/60-config
with
5 additions
and
10 deletions
root/etc/cont-init.d/60-config
+
5
−
10
View file @
e0d56e87
...
...
@@ -4,12 +4,6 @@
ln
-sf
/data /app/ICEcoder/data
ln
-sf
/plugins /app/ICEcoder/plugins
# permissions
chown
-R
abc:abc
\
/config
\
/data
\
/plugins
echo
"[cont-init.d] Checking for lock.file"
# check for lock file to only run git operations once
if
[
!
-e
/lock.file
]
;
then
...
...
@@ -31,12 +25,16 @@ else
echo
"Lock exists just starting ICEcoder"
fi
# make our folders
mkdir
-p
\
/config/
{
log/ICEcoder,php,sess
}
# create lock file after first run
touch
/lock.file
# copy php ini for user editing
[[
!
-e
"/config/php/php.ini"
]]
&&
\
cp
/etc/php7/php.ini /config/php/php.ini
cp
/etc/php7/php.ini /config/php/php.ini
cp
/config/php/php.ini /etc/php7/php.ini
# permissions
...
...
@@ -46,6 +44,3 @@ chown -R abc:abc \
/data
\
/config
\
/plugins
# make our folders
mkdir
-p
\
/config/
{
log/ICEcoder,php,sess
}
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