mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Adds a version.txt file to record the installed version.
This creates a version.txt file in the root of the pocketbase directory allowing for easy identification of the currently installed PocketBase version.
This commit is contained in:
parent
496b9bf92c
commit
a8b20f4842
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ wget -q https://github.com/pocketbase/pocketbase/releases/download/v${RELEASE}/p
|
|||
mkdir -p /opt/pocketbase/{pb_public,pb_migrations,pb_hooks}
|
||||
unzip -q -o /tmp/pocketbase.zip -d /opt/pocketbase
|
||||
|
||||
# Create a file with the version information
|
||||
echo "Pocketbase version: ${RELEASE}" > /opt/pocketbase/version.txt
|
||||
|
||||
cat <<EOF >/etc/systemd/system/pocketbase.service
|
||||
[Unit]
|
||||
Description = pocketbase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue