Skip to content

Change default pidfile from redis.pid to valkey.pid#378

Merged
zuiderkwast merged 1 commit into
valkey-io:unstablefrom
Shivshankar-Reddy:change-pid-file-name
Apr 30, 2024
Merged

Change default pidfile from redis.pid to valkey.pid#378
zuiderkwast merged 1 commit into
valkey-io:unstablefrom
Shivshankar-Reddy:change-pid-file-name

Conversation

@Shivshankar-Reddy

@Shivshankar-Reddy Shivshankar-Reddy commented Apr 25, 2024

Copy link
Copy Markdown
Contributor

Changes the default value for the pidfile config.

The template config file valkey.conf already contains pidfile /var/run/valkey_6379.pid. This is not a default. The default is what you get when you start valkey without config.

Tests suites config pidfile changed to valkey accordingly.

Fixes #321

Signed-off-by: Shivshankar-Reddy <shiva.sheri.github@gmail.com>
@codecov

codecov Bot commented Apr 25, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.40%. Comparing base (52f9291) to head (db63a87).
Report is 10 commits behind head on unstable.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable     #378   +/-   ##
=========================================
  Coverage     68.40%   68.40%           
=========================================
  Files           108      108           
  Lines         61562    61562           
=========================================
  Hits          42109    42109           
  Misses        19453    19453           

see 10 files with indirect coverage changes

@Shivshankar-Reddy

Copy link
Copy Markdown
Contributor Author

@zuiderkwast, Can you check this PR when you get some time?

@zuiderkwast zuiderkwast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good!

pidfile /var/run/valkey_6379.pid was already written in the template config file valkey.conf. This is not a default. It is a value you get if you use the template config as is. The default is what you get when you start without a config.

@zuiderkwast zuiderkwast changed the title Rename pid file name redis.pid to valkey.pid Change default pidfile from redis.pid to valkey.pid Apr 30, 2024
@zuiderkwast zuiderkwast added release-notes This issue should get a line item in the release notes rebranding Valkey is not Redis labels Apr 30, 2024
@zuiderkwast zuiderkwast merged commit 0cb9765 into valkey-io:unstable Apr 30, 2024
@Shivshankar-Reddy Shivshankar-Reddy deleted the change-pid-file-name branch October 7, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rebranding Valkey is not Redis release-notes This issue should get a line item in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change default pidfile

2 participants