FIX: Fix memcached-init script files #802
Open
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λ€μ λ‘컬 λ¨Έμ μ λ§κ² μ€μ ν΄μΌν©λλ€.