Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DCSG2003
Manage
Activity
Members
Plan
Wiki
Code
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
Analyze
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
Raphael Storm Larsen
DCSG2003
Commits
af907c75
Commit
af907c75
authored
2 years ago
by
Raphael Storm Larsen
Browse files
Options
Downloads
Patches
Plain Diff
pushed scaling to live version
parent
ec890b1d
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configuration/manager/cron
+1
-0
1 addition, 0 deletions
configuration/manager/cron
configuration/manager/frontpage_scale.sh
+2
-1
2 additions, 1 deletion
configuration/manager/frontpage_scale.sh
with
3 additions
and
1 deletion
configuration/manager/cron
+
1
−
0
View file @
af907c75
...
...
@@ -6,3 +6,4 @@
0 8 * * * bash /home/ubuntu/dcsg2003/configuration/manager/backupDatabase.sh
* * * * * cp /home/ubuntu/dcsg2003/configuration/manager/.bashrc /home/ubuntu/.bashrc
* * * * * cp /home/ubuntu/dcsg2003/configuration/manager/.bashrc /root/.bashrc
* * * * * bash /home/ubuntu/dcsg2003/configuration/manager/frontpage_scale.sh
\ No newline at end of file
This diff is collapsed.
Click to expand it.
configuration/manager/frontpage_scale.sh
+
2
−
1
View file @
af907c75
...
...
@@ -24,7 +24,7 @@ DOWNLOAD_TIME_LOWER_THRESHOLD=1.9
DOWNLOAD_TIME_UPPER_THRESHOLD
=
10.0
# SAFETY VALVE: Set this to "0" if you want the scaling to actually take place
SAFETY_VALVE
=
1
SAFETY_VALVE
=
0
########################
# SAFETY CHECK: Is bc installed?
...
...
@@ -61,6 +61,7 @@ function scale {
}
################################
# Check if the site is up. Exit if it's down.
...
...
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