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

FIX: Fix memcached-init script files #802

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

cheesecrust
Copy link

@cheesecrust cheesecrust commented Nov 8, 2024

πŸ”— 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듀을 둜컬 머신에 맞게 μ„€μ •ν•΄μ•Όν•©λ‹ˆλ‹€.

scripts/memcached-init Outdated Show resolved Hide resolved
scripts/memcached-tool Outdated Show resolved Hide resolved
scripts/memcached-init Outdated Show resolved Hide resolved
scripts/memcached-tool Outdated Show resolved Hide resolved
scripts/memcached-init Show resolved Hide resolved
@cheesecrust cheesecrust force-pushed the internal/scripts branch 3 times, most recently from 50bec26 to 249fdc5 Compare November 11, 2024 06:01
@cheesecrust cheesecrust changed the title FIX: Fix script files FIX: Fix memcached-init script files Nov 11, 2024
scripts/memcached-init Show resolved Hide resolved
scripts/start-memcached Show resolved Hide resolved
scripts/start-memcached Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants