FIX: Fix memcached-init script files#802
Open
cheesecrust wants to merge 1 commit intonaver:developfrom
Open
Conversation
2ffc4f3 to
1ed3808
Compare
namsic
reviewed
Nov 8, 2024
namsic
reviewed
Nov 11, 2024
50bec26 to
249fdc5
Compare
ing-eoking
reviewed
Nov 12, 2024
249fdc5 to
52b5e76
Compare
Collaborator
|
@ing-eoking |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Related Issue
⌨️ What I did
scripts 파일 실행에 있어 현재 arcus-memcached server를 상대로 실행 할 수 있도록 하였습니다.
start-stop-daemon의 경우 linux Debian 계열에 있는 명령어로 centOs 또는 Mac 환경에는 존재하지 않아 초경량 배포판을 제외한 모든 배포판에 있는nohup명령을 사용하여 변경하였습니다.이에 따라 사용하지 않게 된 pid 파일 관련 구현을 삭제하였습니다.
(start-stop-deamon의 경우 실행시 실행 pid를 pid 파일에 기록한 후 stop 시킬때 이를 활용하였는데, 이 pr 에서는 조회 한 후 grep 하여 정지시키도록 하였습니다.)
memcached.conf 파일은 memcached-init start 실행하여 memcached 서버를 구동할때 줄 옵션들을 적는 파일 입니다. 한 줄에 옵션 하니씩을 설정하게 되면 memcached server start 시에 해당 옵션들과 함께 구동됩니다.
*추가적으로 script를 실행하기 위해서는 script 파일들 안의 path들을 로컬 머신에 맞게 설정해야합니다.