ldap-python-webui/start.sh

12 lines
210 B
Bash
Raw Normal View History

2023-04-17 05:26:22 +02:00
#!/bin/bash
2023-04-20 11:55:17 +02:00
if [ ! -f settings.ini ]; then
2023-04-18 17:17:27 +02:00
cp settings.ini.example settings.ini
fi
2023-04-20 11:55:17 +02:00
if [[ $# -gt 0 ]]; then
UID_=$1
echo $UID_
fi
uwsgi --http :9090 --enable-threads --uid $UID_ --wsgi-file app.py