Compare commits

..

2 Commits

Author SHA1 Message Date
tteckster 9c475a0208
Update petio-install.sh
tweak service file
2024-06-22 17:30:53 -04:00
tteckster 72d70d7842
Update actualbudget.sh
fixes https://github.com/tteck/Proxmox/issues/3250
2024-06-22 16:52:35 -04:00
2 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -51,15 +51,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