update 14/04/2025
This commit is contained in:
parent
ffb7217f7f
commit
0026da2286
56 changed files with 135 additions and 117 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=2.7.1
|
||||
VERSION=2.8.2
|
||||
APP=umap
|
||||
DEPOT=https://github.com/umap-project/umap.git
|
||||
GIT_VERSION=${VERSION}
|
||||
GIT_VERSION=last
|
||||
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bookworm
|
||||
IMAGE_SIZE=6
|
||||
|
@ -14,7 +14,7 @@ main(){
|
|||
install_package_dependency
|
||||
get_git_source
|
||||
build
|
||||
#makedeb
|
||||
makedeb
|
||||
}
|
||||
|
||||
build(){
|
||||
|
|
|
@ -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