Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mentat Test 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
Show more breadcrumbs
713
Mentat
Mentat Test 3
Commits
240e442c
Commit
240e442c
authored
1 year ago
by
Rajmund Hruška
Browse files
Options
Downloads
Plain Diff
Merge branch 'hruska-bugfix-#7624-precache' into devel
parents
71a76fb5
457cea75
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conf/cron/mentat-precache-py.cron
+2
-2
2 additions, 2 deletions
conf/cron/mentat-precache-py.cron
conf/scripts/maintenance-mode.sh
+0
-2
0 additions, 2 deletions
conf/scripts/maintenance-mode.sh
with
2 additions
and
4 deletions
conf/cron/mentat-precache-py.cron
+
2
−
2
View file @
240e442c
...
@@ -10,5 +10,5 @@
...
@@ -10,5 +10,5 @@
# Use of this source is governed by the MIT license, see LICENSE file.
# Use of this source is governed by the MIT license, see LICENSE file.
#
#
# Run
once in every 10
minute
s
.
# Run
every hour at
minute
3
.
*/10
* * * * mentat /var/mentat/venv/bin/mentat-precache.py --regular
3
* * * * mentat /var/mentat/venv/bin/mentat-precache.py --regular
This diff is collapsed.
Click to expand it.
conf/scripts/maintenance-mode.sh
+
0
−
2
View file @
240e442c
...
@@ -39,7 +39,6 @@ function maintenance_on() {
...
@@ -39,7 +39,6 @@ function maintenance_on() {
systemctl restart apache2
systemctl restart apache2
mentat-controller.py
--command
disable
mentat-controller.py
--command
disable
mentat-controller.py
--command
stop
mentat-controller.py
--command
stop
systemctl restart postgresql
exit
0
exit
0
}
}
...
@@ -53,7 +52,6 @@ function maintenance_off() {
...
@@ -53,7 +52,6 @@ function maintenance_off() {
echo
"#==============================================================================#"
echo
"#==============================================================================#"
echo
" Current time:
`
date
--rfc-3339
=
second
`
"
echo
" Current time:
`
date
--rfc-3339
=
second
`
"
echo
""
echo
""
systemctl restart postgresql
mentat-controller.py
--command
start
mentat-controller.py
--command
start
mentat-controller.py
--command
enable
mentat-controller.py
--command
enable
a2dismod substitute
a2dismod substitute
...
...
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