Compare commits

...

24 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
a2ad5f1268 Update CHANGELOG.md (#3127)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-16 20:27:46 +01:00
Tobias
82112e06df Website: Fix alpine-it-tools "undefined" Link (#3110)
* Update alpine-it-tools.json

* Update alpine-it-tools.json

* Update alpine-it-tools.json

* Update alpine-it-tools.json

* Update alpine-it-tools.json

* formatting

* formatting

* formatting
2025-03-16 20:26:50 +01:00
Slaviša Arežina
f6eac663a7 Fix dependencies (#3125) 2025-03-16 20:26:14 +01:00
community-scripts-pr-app[bot]
fd77c53503 Update CHANGELOG.md (#3123)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-16 18:53:53 +01:00
Slaviša Arežina
b1b08cd819 fix build.func path (#3121) 2025-03-16 18:33:23 +01:00
community-scripts-pr-app[bot]
3b2db06fc1 Update CHANGELOG.md (#3122)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-16 18:31:57 +01:00
Mathijs Groothuis
9c9550b446 Typo Enviroment > Environment (#3115) 2025-03-16 18:30:12 +01:00
community-scripts-pr-app[bot]
1397d2dc16 Update CHANGELOG.md (#3113)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-16 14:49:18 +01:00
community-scripts-pr-app[bot]
9587d48235 Update CHANGELOG.md (#3112)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-16 14:48:11 +01:00
Slaviša Arežina
f84c12ecff Add additional information on how to install languages (#3111) 2025-03-16 13:51:13 +01:00
community-scripts-pr-app[bot]
e4261b429a Update CHANGELOG.md (#3107)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-16 11:49:46 +01:00
Andy Grunwald
08e0a6322b Prometheus PVE Exporter: Rightsizing RAM and Disk (#3098)
* Prometheus PVE Exporter: Rightsizing RAM and Disk

* Raise to 2GB, as setup is not working otherwise

* Prometheus PVE Exporter: Set RAM to 512
2025-03-16 11:20:56 +01:00
community-scripts-pr-app[bot]
3d5021b289 Update CHANGELOG.md (#3106) 2025-03-16 09:22:21 +01:00
Xerovoxx98
584bf259da Fix hardcoded port in Debian service file (#3105)
Debian service file contains a hard coded port.
Update to use the $PORT variable instead.
2025-03-16 08:48:16 +01:00
community-scripts-pr-app[bot]
db3ab3c7f9 Update CHANGELOG.md (#3095)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-15 18:30:05 +01:00
Chris
0b014d25be Homepage: Bugfix for v1.0.0 (#3092)
* (for revert)modify func files

* KSS
2025-03-15 09:06:20 +01:00
community-scripts-pr-app[bot]
0a9eb5078a Update CHANGELOG.md (#3089)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-14 22:48:22 +01:00
community-scripts-pr-app[bot]
46016dc3da Update CHANGELOG.md (#3088)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-14 22:37:30 +01:00
Michel Roegl-Brunner
f9c7717719 Update npmplus.json (#3085) 2025-03-14 22:31:29 +01:00
Zhenyu Qi
ea05730868 Update openwrt.sh (#3084) 2025-03-14 22:07:15 +01:00
community-scripts-pr-app[bot]
077e49c5c9 Update CHANGELOG.md (#3082)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-14 19:57:24 +01:00
CanbiZ
4cc1ab728c Memos: Increase RAM Usage and max space (#3072) 2025-03-14 18:50:27 +01:00
community-scripts-pr-app[bot]
66c4d0e03f Update CHANGELOG.md (#3076)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-14 14:30:20 +01:00
Dave Yap
b95e6ec9cf Seafile - Minor bug fix: domain.sh script fix (#3046)
* Create zitadel-install.sh

* Create zitadel.json

* Create zitadel.sh

* Update zitadel.sh

Edit reference back to upstream build.func

* Update zitadel.json

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update zitadel.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update zitadel.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update zitadel.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update zitadel.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update zitadel.sh

* Update zitadel-install.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update zitadel-install.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update zitadel.sh

Co-authored-by: bvdberg01 <74251551+bvdberg01@users.noreply.github.com>

* Update zitadel.json

Co-authored-by: bvdberg01 <74251551+bvdberg01@users.noreply.github.com>

* Use declared variables in config files

* Remove other architectures

* Update to fit changes requested

Include mc for install; removal of variable ARCH and put into direct links; correct the default resources required

* Update zitadel.sh

Co-authored-by: bvdberg01 <74251551+bvdberg01@users.noreply.github.com>

* Update zitadel-install.sh

Co-authored-by: bvdberg01 <74251551+bvdberg01@users.noreply.github.com>

* Update zitadel-install.sh

Co-authored-by: bvdberg01 <74251551+bvdberg01@users.noreply.github.com>

* Made changes to fit suggestions

* Update zitadel-install.sh

correct version output

* Update zitadel-install.sh

* Update path for version.txt

* Set update part default to our project defaults

* Update zitadel.sh, Remove v befor ${RELEASE}

* Update zitadel-install.sh

* Created Seafile script

* Update seafile-install.sh

Removed sudo and tarball when cleaning up.

* Update seafile-install.sh

* Updated script

Corrected source and remove comments

* Move dependencies

Move Python installation and dependencies down to Python block. Fix typos.

* Update seafile-install.sh

Missing -y

* Fix typo

* Remove python lib deps version pinning

* Update seafile-install.sh

* Use generated password instead of plain text

* Change reference

* Reset reference

* Update seafile-install.sh

* Update seafile.json

* Fix syntax error

* Fix uploading files error and broken MOTD

* Fix systemd file and corrected domain.sh script

* Added better explanation of domain.sh script usage

* Edited script creation date

---------

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
Co-authored-by: bvdberg01 <74251551+bvdberg01@users.noreply.github.com>
Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
2025-03-14 14:28:26 +01:00
19 changed files with 162 additions and 74 deletions

View File

@@ -14,6 +14,51 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
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.
## 2025-03-16
### 🚀 Updated Scripts
- Typo Enviroment > Environment [@MathijsG](https://github.com/MathijsG) ([#3115](https://github.com/community-scripts/ProxmoxVE/pull/3115))
- Paperless-ngx: Add additional information to website on how to install OCR languages [@tremor021](https://github.com/tremor021) ([#3111](https://github.com/community-scripts/ProxmoxVE/pull/3111))
- Prometheus PVE Exporter: Rightsizing RAM and Disk [@andygrunwald](https://github.com/andygrunwald) ([#3098](https://github.com/community-scripts/ProxmoxVE/pull/3098))
- #### 🐞 Bug Fixes
- Jellyseerr: Fix dependencies [@tremor021](https://github.com/tremor021) ([#3125](https://github.com/community-scripts/ProxmoxVE/pull/3125))
- wger: Fix build.func path [@tremor021](https://github.com/tremor021) ([#3121](https://github.com/community-scripts/ProxmoxVE/pull/3121))
- Filebrowser: Fix hardcoded port in Debian service file [@Xerovoxx98](https://github.com/Xerovoxx98) ([#3105](https://github.com/community-scripts/ProxmoxVE/pull/3105))
### 🌐 Website
- #### 📝 Script Information
- Website: Fix alpine-it-tools "undefined" Link [@CrazyWolf13](https://github.com/CrazyWolf13) ([#3110](https://github.com/community-scripts/ProxmoxVE/pull/3110))
## 2025-03-15
### 🚀 Updated Scripts
- #### 💥 Breaking Changes
- Homepage: Bugfix for v1.0.0 [@vhsdream](https://github.com/vhsdream) ([#3092](https://github.com/community-scripts/ProxmoxVE/pull/3092))
## 2025-03-14
### 🚀 Updated Scripts
- Memos: Increase RAM Usage and max space [@MickLesk](https://github.com/MickLesk) ([#3072](https://github.com/community-scripts/ProxmoxVE/pull/3072))
- Seafile - Minor bug fix: domain.sh script fix [@dave-yap](https://github.com/dave-yap) ([#3046](https://github.com/community-scripts/ProxmoxVE/pull/3046))
- #### 🐞 Bug Fixes
- openwrt: fix typo netmask [@qzydustin](https://github.com/qzydustin) ([#3084](https://github.com/community-scripts/ProxmoxVE/pull/3084))
### 🌐 Website
- #### 📝 Script Information
- NPMplus: Add info about docker use. [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#3085](https://github.com/community-scripts/ProxmoxVE/pull/3085))
## 2025-03-13
### 🆕 New Scripts

View File

@@ -8,8 +8,8 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
APP="Homepage"
var_tags="dashboard"
var_cpu="2"
var_ram="1024"
var_disk="3"
var_ram="4096"
var_disk="6"
var_os="debian"
var_version="12"
var_unprivileged="1"
@@ -35,6 +35,7 @@ function update_script() {
echo "Installed NPM..."
fi
fi
LOCAL_IP=$(hostname -I | awk '{print $1}')
RELEASE=$(curl -s https://api.github.com/repos/gethomepage/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
msg_info "Updating Homepage to v${RELEASE} (Patience)"
@@ -49,7 +50,11 @@ function update_script() {
$STD npx --yes update-browserslist-db@latest
export NEXT_PUBLIC_VERSION="v$RELEASE"
export NEXT_PUBLIC_REVISION="source"
export NEXT_TELEMETRY_DISABLED=1
$STD pnpm build
if [[ ! -f /opt/homepage/.env ]]; then
echo "HOMEPAGE_ALLOWED_HOSTS=localhost:3000,${LOCAL_IP}:3000" > /opt/homepage/.env
fi
systemctl start homepage
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated Homepage to v${RELEASE}"

View File

@@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
APP="Memos"
var_tags="notes"
var_cpu="2"
var_ram="2048"
var_ram="3072"
var_disk="7"
var_os="debian"
var_version="12"
@@ -36,6 +36,7 @@ function update_script() {
exit
fi
systemctl stop memos
export NODE_OPTIONS="--max-old-space-size=2048"
cd /opt/memos/web
$STD pnpm i --frozen-lockfile
$STD pnpm build

View File

@@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
APP="Prometheus-PVE-Exporter"
var_tags="monitoring"
var_cpu="1"
var_ram="1024"
var_ram="512"
var_disk="2"
var_os="debian"
var_version="12"

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tremor021/ProxmoxVE/refs/heads/wger/misc/build.func)
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE

View File

@@ -14,10 +14,10 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y gpg
$STD apt-get install -y curl \
sudo \
mc \
gpg
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"
@@ -32,6 +32,7 @@ $STD apt-get install -y nodejs
$STD npm install -g pnpm
msg_ok "Installed Node.js"
LOCAL_IP=$(hostname -I | awk '{print $1}')
RELEASE=$(curl -s https://api.github.com/repos/gethomepage/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
msg_info "Installing Homepage v${RELEASE} (Patience)"
wget -q https://github.com/gethomepage/homepage/archive/refs/tags/v${RELEASE}.tar.gz
@@ -45,7 +46,9 @@ cp /opt/homepage/src/skeleton/* /opt/homepage/config
$STD pnpm install
export NEXT_PUBLIC_VERSION="v$RELEASE"
export NEXT_PUBLIC_REVISION="source"
export NEXT_TELEMETRY_DISABLED=1
$STD pnpm build
echo "HOMEPAGE_ALLOWED_HOSTS=localhost:3000,${LOCAL_IP}:3000" > /opt/homepage/.env
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Homepage v${RELEASE}"

View File

@@ -14,11 +14,13 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y git
$STD apt-get install -y gpg
$STD apt-get install -y \
curl \
gnupg \
mc \
git \
sudo \
build-essential
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"

View File

@@ -52,7 +52,8 @@ msg_ok "Installed Golang"
msg_info "Installing Memos (Patience)"
mkdir -p /opt/memos_data
$STD sudo git clone https://github.com/usememos/memos.git /opt/memos
export NODE_OPTIONS="--max-old-space-size=2048"
$STD git clone https://github.com/usememos/memos.git /opt/memos
cd /opt/memos/web
$STD pnpm i --frozen-lockfile
$STD pnpm build

View File

@@ -137,7 +137,7 @@ fi
mkdir -p /app/global /app/frontend/images
cp -r backend/* /app
cp -r global/* /app/global
msg_ok "Set up Enviroment"
msg_ok "Set up Environment"
msg_info "Building Frontend"
cd ./frontend

View File

@@ -188,6 +188,8 @@ msg_info "Adjusting Conf files"
sed -i "0,/127.0.0.1/s/127.0.0.1/0.0.0.0/" /opt/seafile/conf/gunicorn.conf.py
sed -i "0,/SERVICE_URL = \"http:\/\/$IP\"/s/SERVICE_URL = \"http:\/\/$IP\"/SERVICE_URL = \"http:\/\/$IP:8000\"/" /opt/seafile/conf/seahub_settings.py
echo -e "\nFILE_SERVER_ROOT = \"http://$IP:8082\"" >> /opt/seafile/conf/seahub_settings.py
echo -e "CSRF_TRUSTED_ORIGINS = [\"http://$IP/\"]" >> /opt/seafile/conf/seahub_settings.py
echo -e "ALLOWED_HOSTS = [\"$IP\"]" >> /opt/seafile/conf/seahub_settings.py
echo -e "CSRF_TRUSTED_ORIGINS = ['http://$IP/']" >> /opt/seafile/conf/seahub_settings.py
msg_ok "Conf files adjusted"
@@ -224,14 +226,15 @@ After=network.target mysql.service memcached.service
Wants=mysql.service memcached.service
[Service]
Type=forking
Type=oneshot
User=seafile
Group=seafile
WorkingDirectory=/opt/seafile
RemainAfterExit=yes
ExecStart=/opt/seafile/seafile-server-latest/seafile.sh start
ExecStartPost=/opt/seafile/seafile-server-latest/seahub.sh start
ExecStop=/opt/seafile/seafile-server-latest/seahub.sh stop
ExecStart=/opt/seafile/seafile-server-latest/seafile.sh start
ExecStart=/opt/seafile/seafile-server-latest/seahub.sh start
ExecStop=/opt/seafile/seafile-server-latest/seahub.sh stop
ExecStop=/opt/seafile/seafile-server-latest/seafile.sh stop
Restart=on-failure
@@ -265,8 +268,13 @@ IP=$(ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
DOMAIN_NOSCHEME=$(echo $DOMAIN | sed 's|^https://||')
#Change the CORS to provided domain
sed -i "s|CSRF_TRUSTED_ORIGINS = ['http://$IP:8000/']|CSRF_TRUSTED_ORIGINS = ['$DOMAIN']|g" /opt/seafile/conf/seahub_settings.py
sed -i "s|SERVICE_URL = \"http://$IP:8000\"|SERVICE_URL = \"$DOMAIN\"|g" /opt/seafile/conf/seahub_settings.py
sed -i "s|CSRF_TRUSTED_ORIGINS = \[\"http://$IP/\"\]|CSRF_TRUSTED_ORIGINS = \[\"$DOMAIN/\"\]|g" /opt/seafile/conf/seahub_settings.py
sed -i "s|FILE_SERVER_ROOT = \"http://$IP:8082\"|FILE_SERVER_ROOT = \"$DOMAIN/seafhttp\"|g" /opt/seafile/conf/seahub_settings.py
sed -i "s|ALLOWED_HOSTS = \[\"$IP\"\]|ALLOWED_HOSTS = \[\"\.$DOMAIN_NOSCHEME\"\]|g" /opt/seafile/conf/seahub_settings.py
systemctl restart seafile
echo "Seafile server restarted! Access it at $DOMAIN."
EOF
chmod +x ~/domain.sh
msg_ok "Bash Script for Domain access created"

View File

@@ -14,6 +14,17 @@
"logo": "https://raw.githubusercontent.com/CorentinTh/it-tools/08d977b8cdb7ffb76adfa18ba6eb4b73795ec814/public/safari-pinned-tab.svg",
"description": "IT-Tools is a web-based suite of utilities designed to streamline and simplify various IT tasks, providing tools for developers and system administrators to manage their workflows efficiently.",
"install_methods": [
{
"type": "default",
"script": "ct/alpine-it-tools.sh",
"resources": {
"cpu": 1,
"ram": 256,
"hdd": 0.2,
"os": "alpine",
"version": "3.21"
}
},
{
"type": "alpine",
"script": "ct/alpine-it-tools.sh",

View File

@@ -19,8 +19,8 @@
"script": "ct/homepage.sh",
"resources": {
"cpu": 2,
"ram": 1024,
"hdd": 3,
"ram": 4096,
"hdd": 6,
"os": "debian",
"version": "12"
}
@@ -34,6 +34,10 @@
{
"text": "Configuration (bookmarks.yaml, services.yaml, widgets.yaml) path: `/opt/homepage/config/`",
"type": "info"
},
{
"text": "Add additional allowed hosts to `/opt/homepage/.env`",
"type": "info"
}
]
}

View File

@@ -19,7 +19,7 @@
"script": "ct/memos.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"ram": 3072,
"hdd": 7,
"os": "debian",
"version": "12"
@@ -31,4 +31,4 @@
"password": null
},
"notes": []
}
}

View File

@@ -42,6 +42,10 @@
"password": null
},
"notes": [
{
"text": "This uses Docker under the hood, as this can not easily be installed bare-metal. ",
"type": "info"
},
{
"text": "The initial starting process can be take 1-2min. ",
"type": "info"

View File

@@ -34,6 +34,10 @@
{
"text": "Show Login Credentials, type `update` in the LXC console",
"type": "info"
},
{
"text": "Script installs English as default OCR language. To install additional languages, use `apt-get install tesseract-ocr-[lang]`, where [lang] is the language code (e.g. `apt-get install tesseract-ocr-ger`).",
"type": "info"
}
]
}

View File

@@ -20,7 +20,7 @@
"script": "ct/prometheus-pve-exporter.sh",
"resources": {
"cpu": 1,
"ram": 1024,
"ram": 512,
"hdd": 2,
"os": "debian",
"version": "12"

View File

@@ -1,47 +1,47 @@
{
"name": "Seafile",
"slug": "Seafile",
"categories": [
12
],
"date_created": "2025-03-11",
"type": "ct",
"updateable": false,
"privileged": false,
"interface_port": 8000,
"documentation": "https://manual.seafile.com/11.0/deploy",
"website": "https://seafile.com",
"logo": "https://manual.seafile.com/11.0/media/seafile-transparent-1024.png",
"description": "Seafile is an open source file sync and share platform, focusing on reliability and performance.",
"install_methods": [
{
"type": "default",
"script": "ct/seafile.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 20,
"os": "debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Application credentials: `cat ~/seafile.creds`",
"type": "info"
"name": "Seafile",
"slug": "Seafile",
"categories": [
12
],
"date_created": "2025-03-11",
"type": "ct",
"updateable": false,
"privileged": false,
"interface_port": 8000,
"documentation": "https://manual.seafile.com/11.0/deploy",
"website": "https://seafile.com",
"logo": "https://manual.seafile.com/11.0/media/seafile-transparent-1024.png",
"description": "Seafile is an open source file sync and share platform, focusing on reliability and performance.",
"install_methods": [
{
"type": "default",
"script": "ct/seafile.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 20,
"os": "debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
{
"text": "Change STORAGE_DIR value in `external-storage.sh` and run `bash external-storage.sh` to use your defined storage instead of internal.",
"type": "info"
},
{
"text": "Execute `~/domain.sh <HTTPS://YOUR_DOMAIN.COM_HERE>` to enable access to Seafile via your domain",
"type": "info"
}
]
}
"notes": [
{
"text": "Application credentials: `cat ~/seafile.creds`",
"type": "info"
},
{
"text": "Change STORAGE_DIR value in `external-storage.sh` and run `bash external-storage.sh` to use your defined storage instead of internal.",
"type": "info"
},
{
"text": "Execute `~/domain.sh <FULL_DOMAIN_URL_WITH_HTTPS_OR_HTTP>` to enable access to Seafile via your domain. Example: ~/domain.sh https://seafile.example.com",
"type": "info"
}
]
}

View File

@@ -150,8 +150,8 @@ After=network-online.target
User=root
WorkingDirectory=/usr/local/community-scripts
ExecStartPre=/bin/touch /usr/local/community-scripts/filebrowser.db
ExecStartPre=/usr/local/bin/filebrowser config set -a "0.0.0.0" -p 9000 -d /usr/local/community-scripts/filebrowser.db
ExecStart=/usr/local/bin/filebrowser -r / -d /usr/local/community-scripts/filebrowser.db -p 9000
ExecStartPre=/usr/local/bin/filebrowser config set -a "0.0.0.0" -p ${PORT} -d /usr/local/community-scripts/filebrowser.db
ExecStart=/usr/local/bin/filebrowser -r / -d /usr/local/community-scripts/filebrowser.db -p ${PORT}
Restart=always
[Install]

View File

@@ -315,7 +315,7 @@ function advanced_settings() {
exit-script
fi
if LAN_NETMASK=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set a router netmmask" 8 58 $LAN_NETMASK --title "LAN NETMASK" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
if LAN_NETMASK=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set a router netmask" 8 58 $LAN_NETMASK --title "LAN NETMASK" --cancel-button Exit-Script 3>&1 1>&2 2>&3); then
if [ -z $LAN_NETMASK ]; then
LAN_NETMASK="255.255.255.0"
fi