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
|
||||
|
||||
syncGLPI)
|
||||
python /airwatchConnector/sync.py -c $CONF -f
|
||||
python3 /airwatchConnector/sync.py -c $CONF -f
|
||||
;;
|
||||
|
||||
stagingAssignment)
|
||||
python /airwatchConnector/stagingUserAssignation.py -c $CONF -f
|
||||
python3 /airwatchConnector/stagingUserAssignation.py -c $CONF -f
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -19,15 +19,16 @@ if [ $CONF != '' ]; then
|
||||
esac
|
||||
else
|
||||
confFiles = $(ls /airwatchConnector/conf/*.conf)
|
||||
if [ $confFiles = '' ]; then exit 1; do
|
||||
for CONF in $confFiles; do
|
||||
case $TASK in
|
||||
|
||||
syncGLPI)
|
||||
python /airwatchConnector/sync.py -c $CONF -for
|
||||
python3 /airwatchConnector/sync.py -c $CONF -for
|
||||
;;
|
||||
|
||||
stagingAssignment)
|
||||
python /airwatchConnector/stagingUserAssignation.py -c $CONF -f
|
||||
python3 /airwatchConnector/stagingUserAssignation.py -c $CONF -f
|
||||
;;
|
||||
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user