update 14/04/2025
This commit is contained in:
parent
ffb7217f7f
commit
0026da2286
56 changed files with 135 additions and 117 deletions
|
@ -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/
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue