Bump mayan version to 3.3.3
supervisor conf working out of the box
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
toolName="Mayan EDMS"
|
toolName="Mayan EDMS"
|
||||||
toolVersion="3.3.2"
|
toolVersion="3.3.3"
|
||||||
toolRoot="/opt/mayan-edms"
|
toolRoot="/opt/mayan-edms"
|
||||||
toolMediaFolder="/opt/mayan-edms/media"
|
toolMediaFolder="/opt/mayan-edms/media"
|
||||||
|
|
||||||
@@ -90,6 +90,7 @@ step_10() {
|
|||||||
exe sudo -u mayan ${toolRoot}/bin/pip uninstall -r "$uninstallRemovalsLoc"
|
exe sudo -u mayan ${toolRoot}/bin/pip uninstall -r "$uninstallRemovalsLoc"
|
||||||
saveReturn $?
|
saveReturn $?
|
||||||
endReturn
|
endReturn
|
||||||
|
exe systemctl stop supervisor
|
||||||
exe sudo -u mayan ${toolRoot}/bin/pip install --no-cache-dir mayan-edms==$toolVersion
|
exe sudo -u mayan ${toolRoot}/bin/pip install --no-cache-dir mayan-edms==$toolVersion
|
||||||
saveReturn $?
|
saveReturn $?
|
||||||
endReturn
|
endReturn
|
||||||
@@ -97,19 +98,23 @@ step_10() {
|
|||||||
toolScript preparestatic --noinput
|
toolScript preparestatic --noinput
|
||||||
# Generating new supervisor file
|
# Generating new supervisor file
|
||||||
step_6
|
step_6
|
||||||
exe systemctl restart supervisor
|
exe systemctl start supervisor
|
||||||
}
|
}
|
||||||
uninstallRemovalsLoc="/tmp/removals.txt"
|
uninstallRemovalsLoc="/tmp/removals.txt"
|
||||||
|
|
||||||
|
|
||||||
step_13_info() { echo "$toolName management script"; }
|
step_13_info() { echo "$toolName management script"; }
|
||||||
step_13() {
|
step_13() {
|
||||||
|
if [ -z "$2" ] || [ "$2" == "" ] ; then
|
||||||
echo -n "Command (empty for help): "
|
echo -n "Command (empty for help): "
|
||||||
if [ $DRY != 0 ]; then
|
if [ $DRY != 0 ]; then
|
||||||
echo " dryrun"
|
echo " dryrun"
|
||||||
else
|
else
|
||||||
read command
|
read command
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
command="$2"
|
||||||
|
fi
|
||||||
toolScript "$command"
|
toolScript "$command"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user