Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add support for pidfile (option -P) #29

Open
Yoda-BZH opened this issue Aug 31, 2020 · 0 comments
Open

[FEATURE] Add support for pidfile (option -P) #29

Yoda-BZH opened this issue Aug 31, 2020 · 0 comments

Comments

@Yoda-BZH
Copy link

Is your feature request related to a problem?

When installing memcached with the default configuration, the -P option is removed

This option may be needed.

Current value in debian:

-P /var/run/memcached/memcached.pid

Describe the solution you'd like

install memcached with the formula.

----------
          ID: /etc/memcached.conf
    Function: file.managed
      Result: True
     Comment: File /etc/memcached.conf updated
     Started: 13:58:53.014083
    Duration: 58.345 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -9,14 +9,9 @@
                   -d
                   
                   # Log memcached's output to /var/log/memcached
                  -logfile /var/log/memcached.log
                  +logfile  /var/log/memcached.log
                   
                   # Be verbose
                  -# -v
                  -
                  -# Be even more verbose (print client commands as well)
                  -# -vv
                  -
                   # Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
                   # Note that the daemon will grow to this size, but does not start out holding this much
                   # memory
                  @@ -35,16 +30,18 @@
                   -l 127.0.0.1
                   
                   # Limit the number of simultaneous incoming connections. The daemon default is 1024
                  -# -c 1024
                  +-c 1024
                   
                   # Lock down all paged memory. Consult with the README and homepage before you do this
                   # -k
                   
                  +
                   # Return error when memory is exhausted (rather than removing items)
                   # -M
                  +
                   
                   # Maximize core file limit
                   # -r
                   
                  -# Use a pidfile
                  --P /var/run/memcached/memcached.pid
                  +
                  +

Describe alternatives you've considered

None

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant