I am hoping someone can help this init script newbie.
For my init script I would like to switch to a different user account for security reasons. Using the start-stop-daemon I have used the "--chuid" option to switch users.
This works fine however I have found that the user account does not make use keychain for ssh connections.
Is this normal behaviour for the start-stop-daemon?
To work around this issue I have just created a seperate wrapper script "invoke_app" that manually calls keychain and then invokes the application.
Is there another more standard way to do this?