I'm trying to run my program as a daemon but the way I am doing it currently requires root access. I was wondering if I could use the nohup command with & to push it to the background instead of running my program as a service.
I know that a similar question has been asked before here: What's the difference between running a program as a daemon and forking it into background with '&'?
but I was wondering if adding the nohup command would make it so it runs like a daemon.