Skip to content
Snippets Groups Projects
Commit 240e442c authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Merge branch 'hruska-bugfix-#7624-precache' into devel

parents 71a76fb5 457cea75
No related branches found
No related tags found
No related merge requests found
......@@ -10,5 +10,5 @@
# Use of this source is governed by the MIT license, see LICENSE file.
#
# Run once in every 10 minutes.
*/10 * * * * mentat /var/mentat/venv/bin/mentat-precache.py --regular
# Run every hour at minute 3.
3 * * * * mentat /var/mentat/venv/bin/mentat-precache.py --regular
......@@ -39,7 +39,6 @@ function maintenance_on() {
systemctl restart apache2
mentat-controller.py --command disable
mentat-controller.py --command stop
systemctl restart postgresql
exit 0
}
......@@ -53,7 +52,6 @@ function maintenance_off() {
echo "#==============================================================================#"
echo " Current time: `date --rfc-3339=second`"
echo ""
systemctl restart postgresql
mentat-controller.py --command start
mentat-controller.py --command enable
a2dismod substitute
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment