fix: sudo for systemctl
This commit is contained in:
parent
eea149ee3c
commit
56fbfb8b4c
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -41,9 +41,9 @@ pipeline {
|
|||||||
${SRC}/venv/bin/pip install -r backend/requirements.txt -q
|
${SRC}/venv/bin/pip install -r backend/requirements.txt -q
|
||||||
|
|
||||||
# 서비스 재기동
|
# 서비스 재기동
|
||||||
systemctl restart zioinfo-mail
|
sudo systemctl restart zioinfo-mail
|
||||||
sleep 4
|
sleep 4
|
||||||
systemctl is-active zioinfo-mail || exit 1
|
sudo systemctl is-active zioinfo-mail || exit 1
|
||||||
|
|
||||||
# 헬스체크
|
# 헬스체크
|
||||||
curl -sf http://localhost:8026/health || exit 1
|
curl -sf http://localhost:8026/health || exit 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user