Having issues with startup script not running

I've been having issues getting Octoprint to configure camera settings at startup.

I set up a script per the following guide.

Works fine when I run the script manually but it doesn't appear that the script is loading at startup.

I've made sure that the script has the a and x attributes.
I noticed that octoprint keeps re-arranging the command line, placing it before the subscriptions field?


Any help would be much appreciated!

you need to flip those around a little. it's getting re-ordered because of spacing issue more than likely.

    -   command: /home/pi/scripts/cam_init.sh
        event: ClientOpened
        type: system
1 Like

That did the trick, thank you.

1 Like