4a3fa3e488e25f5201fa03a8d8aa90421054474d
[fai-configs.git] / scripts / GMG / 15_install_gmg.sh
1 #!/bin/bash
2
3 fcopy -Bv /etc/init.d/install-mediagoblin
4 fcopy -Bv /etc/init.d/mediagoblin-paster
5 fcopy -Bv /etc/init.d/mediagoblin-celery-worker
6
7 $ROOTCMD update-rc.d install-mediagoblin defaults
8 sed 's^GMG_PATH_TOKEN^'$GMG_PATH'^g' -i $target/etc/init.d/install-mediagoblin
9 sed 's^GMG_PATH_TOKEN^'$GMG_PATH'^g' -i $target/etc/init.d/mediagoblin-celery-worker
10 sed 's^GMG_PATH_TOKEN^'$GMG_PATH'^g' -i $target/etc/init.d/mediagoblin-paster