Update start-notification-service.sh
Run CI Tests / test (push) Successful in 1m19s

This commit is contained in:
2025-08-16 14:03:59 +02:00
parent 5ce4c58940
commit 79c2ff8f09
+8 -9
View File
@@ -6,16 +6,15 @@ echo "[INFO] Starting fake org.freedesktop.Notifications service..."
python3 start-notification-service.py &
SERVICE_PID=$!
# attendre que le service soit dispo
sleep 2
# Vérifie que le service est bien enregistré
gdbus introspect \
--session \
--dest org.freedesktop.Notifications \
--object-path /org/freedesktop/Notifications || {
echo '[ERROR] Service not running'
exit 1
}
gdbus introspect --session \
--dest org.freedesktop.Notifications \
--object-path /org/freedesktop/Notifications || {
echo '[ERROR] Service not running'
kill $SERVICE_PID
exit 1
}
# Garde le PID pour pouvoir le tuer après les tests
echo $SERVICE_PID > /tmp/notify-service.pid