Commit d641c4f5719173edafecd272b853295b2c21a4be
1 parent
6a03969d
update clean memory
Showing
1 changed file
with
6 additions
and
0 deletions
spod-manager.sh
@@ -265,6 +265,12 @@ echo "SPOD MANAGER Action: $ACTION ..." | @@ -265,6 +265,12 @@ echo "SPOD MANAGER Action: $ACTION ..." | ||
265 | 265 | ||
266 | service apache2 restart | 266 | service apache2 restart |
267 | wget -q -O /dev/null http://localhost/ow_cron/run.php | 267 | wget -q -O /dev/null http://localhost/ow_cron/run.php |
268 | + rm -f /var/www/ow_includes/config.php | ||
269 | + echo $CONFIG0$HOSTNAMESPOD$CONFIG1$CONFIG2 >> /var/www/ow_includes/config.php | ||
270 | + service apache2 restart | ||
271 | + wget -q -O /dev/null http://localhost/ | ||
272 | + rm -f /var/www/ow_includes/config.php | ||
273 | + echo $CONFIG0$HOSTNAMESPOD$CONFIG1$CONFIG3 >> /var/www/ow_includes/config.php | ||
268 | else | 274 | else |
269 | echo "Your SPOD installation is corrupt, please uninstall and istall it again. Your database will be erased." | 275 | echo "Your SPOD installation is corrupt, please uninstall and istall it again. Your database will be erased." |
270 | exit -2 | 276 | exit -2 |