From dafe17ac953fc38cfc855b57a71ade36ae9f3881 Mon Sep 17 00:00:00 2001 From: Matt Alexander Date: Fri, 21 Jun 2024 17:08:46 -0700 Subject: [PATCH 1/3] Fix mikrotik-routeros when using nfs (#3247) --- vm/mikrotik-routeros.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vm/mikrotik-routeros.sh b/vm/mikrotik-routeros.sh index 15e702f56..af4fd0c21 100644 --- a/vm/mikrotik-routeros.sh +++ b/vm/mikrotik-routeros.sh @@ -254,13 +254,12 @@ nfs | dir) btrfs | zfspool) DISK_EXT="" DISK_REF="$VMID/" - DISK_FORMAT="subvol" DISK_IMPORT="-format raw" ;; esac DISK_VAR="vm-${VMID}-disk-0${DISK_EXT:-}" -DISK_REF="${STORAGE}:${DISK_VAR:-}" +DISK_REF="${STORAGE}:${DISK_REF:-}${DISK_VAR:-}" msg_ok "Extracted Mikrotik RouterOS CHR Disk Image" msg_info "Creating Mikrotik RouterOS CHR VM" From 72d70d7842029d6d8d22df1b7d0e02c2d20c4adb Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 22 Jun 2024 16:52:35 -0400 Subject: [PATCH 2/3] Update actualbudget.sh fixes https://github.com/tteck/Proxmox/issues/3250 --- ct/actualbudget.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/actualbudget.sh b/ct/actualbudget.sh index b4ff4d624..1f1e201d6 100644 --- a/ct/actualbudget.sh +++ b/ct/actualbudget.sh @@ -58,8 +58,8 @@ if [[ ! -d /opt/actualbudget ]]; then msg_error "No ${APP} Installation Found!"; msg_info "Updating ${APP}" systemctl stop actualbudget.service cd /opt/actualbudget -git pull -yarn install +git pull &>/dev/null +yarn install &>/dev/null systemctl start actualbudget.service msg_ok "Successfully Updated ${APP}" exit From 9c475a02088e436112d4458218d508157011811a Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 22 Jun 2024 17:30:53 -0400 Subject: [PATCH 3/3] Update petio-install.sh tweak service file --- install/petio-install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install/petio-install.sh b/install/petio-install.sh index 05499bd56..0de03f158 100644 --- a/install/petio-install.sh +++ b/install/petio-install.sh @@ -51,15 +51,18 @@ msg_info "Creating Service" cat </etc/systemd/system/petio.service [Unit] Description=Petio a content request system -After=network.target -StartLimitIntervalSec=0 +After=network.target mongod.service [Service] Type=simple +User=petio Restart=on-failure RestartSec=1 ExecStart=/opt/Petio/bin/petio-linux -User=petio + +[Install] +WantedBy=multi-user.target + EOF systemctl enable -q --now petio.service