linux - Must my pidfile be located in /var/run? - Stack Overflow

linux - Must my pidfile be located in /var/run? - Stack Overflow

The location of the pid file should be configurable. /var/run is standard for pid files, the same as /var/log is standard for logs. But your daemon should allow you to overwrite this setting in some config file.

你可能感兴趣的:(overflow)