View Single Post
Old 07-14-2023, 08:16 AM   #368
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

To make photoprism start on every (re)boot is relatively easy.

To make photoprism stop on shutdown can be done, but this is difficult. I just do it manually docker stop photoprism_photoprism_1

To start photoprism at every (re)boot:

crontab -e

Add to bottom of file:
Code:
@reboot /bin/sleep 120 && /usr/bin/docker start photoprism_photoprism_1
This starts photoprism 2 minutes after a (re)boot to give all the startup processes time to finish.
mariosipad is offline   Reply With Quote