This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
compte-agglo-montpellier/debian/compte-agglo-montpellier.sh

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 $*