I'm trying to have it so that my program is able to run at startup and in the background without having the user to be root. Ideally this would happen at the installation of the program and not using a script modification after the program has been installed.

  • What OS are you using? – Mark Smith Sep 4 '18 at 19:30
  • 2
    a @reboot cron job is one option unix.stackexchange.com/questions/78017/… but does require appropriate configuration of the crontab... – thrig Sep 4 '18 at 19:30
  • Background and foreground are concepts associated with login sessions and controlling terminals. Do you mean in the background? Or not associated with a login session and controlling terminal at all, where the concept of background does not apply? – JdeBP Sep 5 '18 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.