Upload full Albumik YunoHost package

This commit is contained in:
adminsopel
2026-05-01 09:06:44 +02:00
parent 2145989988
commit f8beabe293
16 changed files with 1690 additions and 0 deletions

13
scripts/upgrade Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -euo pipefail
source ./scripts/_common.sh
systemctl stop "$app" 2>/dev/null || true
mkdir -p "$install_dir"
rm -rf "$install_dir/backend" "$install_dir/web" "$install_dir/doc"
cp -a backend web doc "$install_dir"/
chown -R "$app:$app" "$install_dir"
systemctl daemon-reload
systemctl start "$app"
systemctl reload nginx || true
echo "Albumik upgraded"