update 14/04/2025

This commit is contained in:
Thomas Legay 2025-04-14 18:51:11 +02:00
parent ffb7217f7f
commit 0026da2286
56 changed files with 135 additions and 117 deletions

View file

@ -3,5 +3,3 @@
APP=umap
id $APP &> /dev/null || useradd $APP -r -s /bin/false -md /var/lib/$APP/
chown -R $APP:$APP /var/lib/$APP/

View file

@ -6,6 +6,7 @@ After=network.target
User=umap
Group=umap
#WorkingDirectory=/var/share/umap/
EnvironmentFile=/etc/default/umap
ExecStartPre=/usr/bin/python3 -m venv /var/lib/umap/venv
ExecStartPre=/var/lib/umap/venv/bin/pip install /usr/share/umap/.[docker]
ExecStartPre=/var/lib/umap/venv/bin/python3 /usr/share/umap/manage.py migrate