1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-19 01:18:07 +00:00

Fix hardcoded port in Debian service file (#3105)

Debian service file contains a hard coded port.
Update to use the $PORT variable instead.
This commit is contained in:
Xerovoxx98 2025-03-16 17:48:16 +10:00 committed by GitHub
parent db3ab3c7f9
commit 584bf259da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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]