mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "9c475a02088e436112d4458218d508157011811a" and "dafe17ac953fc38cfc855b57a71ade36ae9f3881" have entirely different histories.
9c475a0208
...
dafe17ac95
|
@ -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 &>/dev/null
|
||||
yarn install &>/dev/null
|
||||
git pull
|
||||
yarn install
|
||||
systemctl start actualbudget.service
|
||||
msg_ok "Successfully Updated ${APP}"
|
||||
exit
|
||||
|
|
|
@ -51,18 +51,15 @@ msg_info "Creating Service"
|
|||
cat <<EOF >/etc/systemd/system/petio.service
|
||||
[Unit]
|
||||
Description=Petio a content request system
|
||||
After=network.target mongod.service
|
||||
After=network.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=petio
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
ExecStart=/opt/Petio/bin/petio-linux
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
User=petio
|
||||
|
||||
EOF
|
||||
systemctl enable -q --now petio.service
|
||||
|
|
Loading…
Reference in New Issue