Skip to content

Commit

Permalink
Create update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fbagnol committed Jul 5, 2015
1 parent 5a610af commit eca5b43
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

echo "#########################################"
echo "`date` => Debut de la mise a jour"
echo "#########################################"


# Stop service
/etc/init.d/codendi stop
/sbin/service httpd stop

# Upgrade packages
yum -y update tuleap*

# Apply data upgrades
/usr/lib/forgeupgrade/bin/forgeupgrade --config=/etc/codendi/forgeupgrade/config.ini update

# Restart service
/sbin/service httpd start
/etc/init.d/codendi start

echo "#########################################"
echo "`date` => Fin de la mise a jour"
echo "#########################################"

0 comments on commit eca5b43

Please sign in to comment.