Is there a preferred place to store a pid file for a daemon that\'s run as a user? /var/run is the standard place, but this is for a user daemon so it doesn\'t have write pr
I suggest you go for a subdirectory within the user's home directory.
~/.programname/.pid
If there is any other user configuration data, you can store that in here too, in order to avoid cluttering up the home directory.