As written in the title, where should I let the init script write the pid file? are there any standard paths I should choose instead of the /var/run ?
Could /tmp be a good place where to store it or there are drawbacks in that?
In short: you could store it anywhere (say,
And a desirable feature is that most distros clean it automatically (unlike
It's your choice where to store it, but I would go with the standard.
If you don't have access to
If it's non-root write access to