forked from forkanization/Proxmox-arm64
@@ -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
|
||||
|
||||
@@ -52,15 +52,18 @@ msg_info "Creating Service"
|
||||
cat <<EOF >/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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user