In memcached.conf, if I set this line:
# pid file -P /var/run/memcached.pid
Then when I run
sudo service memcached start
I observe two strange behaviors:
1) The following log lines appears:
WARNING: The pid file contained the following (running) pid: 19 Could not open the pid file /var/run/memcached.pid for writing: permission denied
(the second line only appears when I have "-u memcache" set as well)
2) The sudo service memcached start command does not daemonize until I press <enter>
In memcached.conf, if I set this line:
# pid file memcached. pid
-P /var/run/
Then when I run
sudo service memcached start
I observe two strange behaviors:
1) The following log lines appears:
WARNING: The pid file contained the following (running) pid: 19 memcached. pid for writing: permission denied
Could not open the pid file /var/run/
(the second line only appears when I have "-u memcache" set as well)
2) The sudo service memcached start command does not daemonize until I press <enter>