my TrueNAS SCALE Dragonfish-24.04.2.1 hosts Syncthing as an App. Syncthing is using the content of a passphrase encrypted dataset and, therefore, cannot access the dataset on system startup, until I manually unlock the dataset.
My Virtual Machines which are located on passphrase encrypted datasets do automatically start after I unlocked the dataset via passphrase. However, the Syncthing App is not automatically starting after the unlock and I have to trigger the start of the App manually.
Is this the way it should be?
Is it possible to auto-start the App after the dataset got unlocked?
Has anyone found a solution for this? I’m in the same boat, custom app in which in need to mount a passphrase protected path. So after every reboot the app is in “crashed” state and needs to be started manually after unlocking the encrypted dataset.
You can try Report a Bug if you believe it isn’t working as it should or creating a Feature Request on the forum. I figure you have given it enough time for replies. Github might be an option too GitHub · Where software is built
You could also try to write a script as a cronjob which checks for dataset unlock and then starts the app. I don’t know if it’s possible but maybe I’ll try that