13 lines
345 B
Bash
13 lines
345 B
Bash
#!/bin/sh
|
|
|
|
if [ "$(whoami)" != "compte-agglo-montpellier" ]; then
|
|
echo "You must run this script with compte-agglo-montpellier user"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -f /etc/compte-agglo-montpellier/compte-agglo-montpellier.conf ]; then
|
|
. /etc/compte-agglo-montpellier/compte-agglo-montpellier.conf
|
|
fi
|
|
|
|
/usr/lib/compte-agglo-montpellier/manage.py $*
|