mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "95e6a5436ab1ffc4ada8606184ab980f4c4e1db1" and "0c5836e61a6a7d2a3c4636f5f8a8d6ed10e37c4e" have entirely different histories.
95e6a5436a
...
0c5836e61a
|
@ -4,13 +4,6 @@
|
||||||
|
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
|
|
||||||
## 2023-10-05
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- **Pingvin Share LXC**
|
|
||||||
- NEW Script
|
|
||||||
|
|
||||||
## 2023-09-30
|
## 2023-09-30
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -52,26 +52,8 @@ function default_settings() {
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -d /opt/pingvin-share ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Stopping Pingvin Share"
|
msg_error "There is currently no update path available."
|
||||||
pm2 stop pingvin-share-backend pingvin-share-frontend &>/dev/null
|
|
||||||
msg_ok "Stopped Pingvin Share"
|
|
||||||
|
|
||||||
msg_info "Updating Pingvin Share"
|
|
||||||
cd /opt/pingvin-share
|
|
||||||
git fetch --tags
|
|
||||||
git checkout $(git describe --tags `git rev-list --tags --max-count=1`) &>/dev/null
|
|
||||||
cd backend
|
|
||||||
npm run build &>/dev/null
|
|
||||||
cd ../frontend
|
|
||||||
npm run build &>/dev/null
|
|
||||||
msg_ok "Updated Pingvin Share"
|
|
||||||
|
|
||||||
msg_info "Starting Pingvin Share"
|
|
||||||
pm2 start pingvin-share-backend pingvin-share-frontend &>/dev/null
|
|
||||||
msg_ok "Started Pingvin Share"
|
|
||||||
|
|
||||||
msg_ok "Updated Successfully"
|
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,6 @@ $STD npm install
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
$STD pm2 start --name="pingvin-share-frontend" npm -- run start
|
$STD pm2 start --name="pingvin-share-frontend" npm -- run start
|
||||||
$STD pm2 startup
|
$STD pm2 startup
|
||||||
echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
|
||||||
chmod +x /usr/bin/update
|
|
||||||
msg_ok "Installed Pingvin Share"
|
msg_ok "Installed Pingvin Share"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|
Loading…
Reference in New Issue