Updated docker files

This commit is contained in:
2025-07-10 23:05:00 +02:00
parent 5eb7b6b778
commit 84c52ae234
6 changed files with 92 additions and 94 deletions

38
start.sh Normal file
View File

@ -0,0 +1,38 @@
#!/bin/bash
python /pre-start.py
if [ $CONF != '' ]; then
case $TASK in
syncGLPI)
python /airwatchConnector/sync.py -c $CONF -f
;;
stagingAssignment)
python /airwatchConnector/stagingUserAssignation.py -c $CONF -f
;;
*)
exit 0
;;
esac
else
confFiles = $(ls /airwatchConnector/conf/*.conf)
for CONF in $confFiles; do
case $TASK in
syncGLPI)
python /airwatchConnector/sync.py -c $CONF -for
;;
stagingAssignment)
python /airwatchConnector/stagingUserAssignation.py -c $CONF -f
;;
*)
exit 0
;;
esac
done
fi