Minor modifications to serviio.sh for easier upgrade
Hey there,
since I'm running serviio on a headless device (Seagate BlackArmor NAS 220), I had to make some modifications to serviio.sh:
For easier upgrades, it would be nice if serviio.sh would not use hardcoded values, but instead try to read some environment variables and use defaults if nothing is in the environment. We could then easily launch serviio like so:
No need to edit serviio.sh anymore.
best regards
tif
since I'm running serviio on a headless device (Seagate BlackArmor NAS 220), I had to make some modifications to serviio.sh:
- Decreased memory pool: -Xmx384M -> -Xmx96M
- Added -Dserviio.remoteHost=...
For easier upgrades, it would be nice if serviio.sh would not use hardcoded values, but instead try to read some environment variables and use defaults if nothing is in the environment. We could then easily launch serviio like so:
No need to edit serviio.sh anymore.
best regards
tif