mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Update petio-install.sh
remove .zip after unzip. make script "silent"
This commit is contained in:
parent
a9aaad1aa9
commit
3135ca60cc
1 changed files with 3 additions and 4 deletions
|
@ -41,8 +41,9 @@ msg_ok "MongoDB 4.4 Installed"
|
|||
msg_info "Installing Petio"
|
||||
useradd -M --shell=/bin/false petio
|
||||
mkdir /opt/Petio
|
||||
wget https://petio.tv/releases/latest -O petio-latest.zip
|
||||
unzip petio-latest.zip -d /opt/Petio
|
||||
wget -q https://petio.tv/releases/latest -O petio-latest.zip
|
||||
$STD unzip -q petio-latest.zip -d /opt/Petio
|
||||
rm -rf petio-latest.zip
|
||||
chown -R petio:petio /opt/Petio
|
||||
msg_ok "Installed Petio"
|
||||
|
||||
|
@ -60,8 +61,6 @@ RestartSec=1
|
|||
ExecStart=/opt/Petio/bin/petio-linux
|
||||
User=petio
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now petio.service
|
||||
msg_ok "Created Service"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue