Open
Description
Describe the bug
When you start a new device, Syncthing container should run a script to replace some variables like #ID_PRINCIPAL by SYNC_ID_PRINCIPAL env value but it is not happening.
To Reproduce
Steps to reproduce the behavior:
- Burn new SD card with BalenaOS
- Put it in a Rasp and connect it to a router
- Wait to be online
- Check for sync logs
Expected behavior
Is expected when you initialize Sync container, its config file should has folders' IDs from where it should sync
Device Type:
Raspberry Pi 4
Possible Solution
Modify Dockerfile, to copy script inside of /custom-cont-init.d/
instead of /etc/cont-init.d/
- COPY cont-init.d/ /etc/cont-init.d/
+ COPY cont-init.d/ /custom-cont-init.d/
Check LinuxServer documentation