Core Principle#
Edit the start-stop-status
script of the package to set environment variables such as HTTP_PROXY
during startup.
Specific Steps#
- Connect to Synology via ssh.
- Open the script with the following command:
sudo nano /var/packages/EmbyServer/scripts/start-stop-status
- Add the command to set the
HTTP_PROXY
environment variable before the startup command (as shown in the image).