30 lines
596 B
Bash
Executable File
30 lines
596 B
Bash
Executable File
#!/bin/bash
|
|
. /usr/share/envole/docker/misc/e-ihm.sh
|
|
|
|
RunCmd=CreoleRun
|
|
|
|
clear
|
|
BigTitle "RECONFIGURE ENVOLE"
|
|
container_path_web=$(CreoleGet container_path_web non)
|
|
|
|
Title "Rafraichissement creoled"
|
|
service creoled restart
|
|
|
|
Title "Generation templates"
|
|
FILES="/usr/share/eole/creole/distrib/envole*"
|
|
for f in $FILES
|
|
do
|
|
if [ -f "$f" ]
|
|
then
|
|
EchoRouge $(basename $f)
|
|
CreoleCat -t $(basename $f)
|
|
fi
|
|
done
|
|
|
|
Title "Restart apache"
|
|
service apache2 restart
|
|
|
|
chmod +x $container_path_web/usr/share/envole/docker/envole.sh
|
|
$RunCmd "cd /usr/share/envole/docker && ./envole.sh" web
|
|
|