Correction de l'image docker
This commit is contained in:
9
start.sh
9
start.sh
@ -6,11 +6,11 @@ if [ $CONF != '' ]; then
|
|||||||
case $TASK in
|
case $TASK in
|
||||||
|
|
||||||
syncGLPI)
|
syncGLPI)
|
||||||
python /airwatchConnector/sync.py -c $CONF -f
|
python3 /airwatchConnector/sync.py -c $CONF -f
|
||||||
;;
|
;;
|
||||||
|
|
||||||
stagingAssignment)
|
stagingAssignment)
|
||||||
python /airwatchConnector/stagingUserAssignation.py -c $CONF -f
|
python3 /airwatchConnector/stagingUserAssignation.py -c $CONF -f
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
@ -19,15 +19,16 @@ if [ $CONF != '' ]; then
|
|||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
confFiles = $(ls /airwatchConnector/conf/*.conf)
|
confFiles = $(ls /airwatchConnector/conf/*.conf)
|
||||||
|
if [ $confFiles = '' ]; then exit 1; do
|
||||||
for CONF in $confFiles; do
|
for CONF in $confFiles; do
|
||||||
case $TASK in
|
case $TASK in
|
||||||
|
|
||||||
syncGLPI)
|
syncGLPI)
|
||||||
python /airwatchConnector/sync.py -c $CONF -for
|
python3 /airwatchConnector/sync.py -c $CONF -for
|
||||||
;;
|
;;
|
||||||
|
|
||||||
stagingAssignment)
|
stagingAssignment)
|
||||||
python /airwatchConnector/stagingUserAssignation.py -c $CONF -f
|
python3 /airwatchConnector/stagingUserAssignation.py -c $CONF -f
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user