Build Debian packages and apply upgrades through APT

This commit is contained in:
parkel committed 2026-11-24 02:01:09 +01:00
1 parent e240cbc64f
commit 2d6ac5ac43
13 files changed
+290 -10

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
set -eu
exec /usr/bin/python3 /usr/share/coulobre-panel/source/deploy/install-panel.py "$@"
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
if [ "$1" != configure ] || [ ! -e /etc/coulobre/panel.env ]; then
exit 0
fi
systemd-run --quiet --wait --pipe --collect \
--property=EnvironmentFile=/etc/coulobre/panel.env \
--setenv=PYTHONPATH=/usr/share/coulobre-panel/source/src \
/opt/coulobre/bin/python -P -m coulobre.package_upgrade
systemctl daemon-reload
systemctl enable --now coulobre-remote-deploy.socket
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
set -eu
if [ "$1" = remove ] && [ -d /run/systemd/system ]; then
systemctl disable --now coulobre-remote-deploy.socket
fi