Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
Context Sensitive Group
freedombone
Commits
170be593
Commit
170be593
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Tidying
parent
f926bc17
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
src/freedombone-app-turtl
+4
-6
4 additions, 6 deletions
src/freedombone-app-turtl
with
4 additions
and
6 deletions
src/freedombone-app-turtl
+
4
−
6
View file @
170be593
...
...
@@ -49,9 +49,6 @@ TURTL_ADMIN_PASSWORD=
TURTL_STORAGE_LIMIT_MB
=
100
TURTL_BASE_DIR
=
/etc/turtl
LIBUV_VERSION
=
'1.9.1'
LIBUV_HASH
=
'e83953782c916d7822ef0b94e8115ce5756fab5300cca173f0de5f5b0e0ae928'
turtl_variables
=(
ONION_ONLY
DEFAULT_DOMAIN_NAME
TURTL_DOMAIN_NAME
...
...
@@ -103,7 +100,7 @@ function configure_interactive_turtl {
STORAGE
=
$(
<
$data
)
if
[
${#
STORAGE
}
-gt
0
]
;
then
TURTL_STORAGE_LIMIT_MB
=
$STORAGE
sed
-i
"s|defparameter *default-storage-limit*.*|defparameter *default-storage-limit*
$TURTL_STORAGE_LIMIT_MB
|g"
/var/www/
$TURTL_DOMAIN_NAME
/htdocs
/api/config/config.lisp
sed
-i
"s|defparameter *default-storage-limit*.*|defparameter *default-storage-limit*
$
{
TURTL_STORAGE_LIMIT_MB
}
)
|g"
$TURTL_BASE_DIR
/api/config/config.lisp
systemctl restart turtl
dialog
--title
$"Change storage limit"
\
--msgbox
$"Storage limit changed to
${
TURTL_STORAGE_LIMIT_MB
}
M"
6 50
...
...
@@ -128,7 +125,8 @@ function upgrade_turtl {
nginx_dissite
$TURTL_DOMAIN_NAME
cd
/var/www/
$TURTL_DOMAIN_NAME
/htdocs
npm
install
make minify
make clean
make
chown
-R
turtl:turtl
$TURTL_BASE_DIR
chown
-R
turtl:turtl /var/www/
$TURTL_DOMAIN_NAME
/htdocs
nginx_ensite
$TURTL_DOMAIN_NAME
...
...
@@ -697,7 +695,7 @@ function install_turtl_app {
cd
/var/www/
$TURTL_DOMAIN_NAME
/htdocs
npm
install
make
minify
make
chown
-R
turtl:turtl /var/www/
$TURTL_DOMAIN_NAME
/htdocs
function_check create_site_certificate
...
...
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