in reply to Re: How run a daemon as non-root user
in thread How run a daemon as non-root user

Yeah I'm starting them with /etc/init.d

I think my issue is that I don't know how to create a user with the proper permissions to create a pid /var/run

Maybe I should be searching Debian docs on how to do this.

Thanks for everyone's help.
  • Comment on Re^2: How run a daemon as non-root user

Replies are listed 'Best First'.
Re^3: How run a daemon as non-root user
by halfbaked (Sexton) on Dec 06, 2008 at 02:21 UTC
    OK, I figured it out. It wasn't a Perl question, but rather a Linux question.

    All I had to was to chown the pid file to the user that's starting the process. It seems so obvious now.

    Thanks everyone. You'd think that after working in technology for almost 12 years that I wouldn't have to ask stupid questions, but ... Linux admin has never been my strong suit.