racklin / simple-synoindex-server

Simple synoindex server for Synology NAS
34 stars 6 forks source link

Small suggestion for the Task Scheduler script #6

Closed FHeilmann closed 3 years ago

FHeilmann commented 6 years ago

On my synology, the suggested Task Scheduler boot-up script doesn't work, since it is executed before docker is up, causing the bind address of the server to be unavailable.

I have added a sleep before the actual execution of the server to fix this.

i.e. define another task with sleep(60) as pre-task or change the task of the synoindex server to sleep(60) && /volume1/homes/admin/simple-synoindex-server/synoindex-server &

arette commented 6 years ago

this fix documented here first: https://github.com/racklin/simple-synoindex-server/issues/3#issuecomment-297847630

eltiel commented 5 years ago

Not sure why, but after the latest DSM update the syntax for sleep has changed.

sleep 60 instead