1. B

    Shell Daemonize a program through rc.d script

    I am still struggling to create a working rc.d script for onedrive. covacat has explained that I need to explicitly define environment variables, but now I am facing another issue: rc.d starts onedrive exactly as it should, but the program starts and stays in the foreground. Meaning: During the...
  2. B

    Solved Running a rc.d script as another user

    Hello, I am trying to set up a daemon for onedrive. It needs to be run as a specific user, because onedrive has to read the authentication token from the user home directory, and then synchronize into that directory. However, ${onedrived_user="borysj"} does not do the trick. I see that the...