kcg-monitoring/deploy/kcg-backend.service
htlee fe1de4bf51
All checks were successful
Deploy KCG / deploy (push) Successful in 1m10s
fix(deploy): 배포 자동화 + 수집기 모니터링 + 이란 signal-batch 연동 (#32)
Co-authored-by: htlee <htlee@gcsc.co.kr>
Co-committed-by: htlee <htlee@gcsc.co.kr>
2026-03-18 05:46:55 +09:00

26 lines
549 B
Desktop File

[Unit]
Description=KCG Monitoring Backend
After=network.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/devdata/services/kcg/backend
EnvironmentFile=-/devdata/services/kcg/backend/.env
ExecStart=/usr/lib/jvm/java-21-openjdk-21.0.10.0.7-1.el9.x86_64/bin/java \
-Xms2g -Xmx4g \
-Dspring.profiles.active=prod \
-jar /devdata/services/kcg/backend/kcg.jar
Restart=on-failure
RestartSec=10
TimeoutStopSec=30
StandardOutput=journal
StandardError=journal
SyslogIdentifier=kcg-backend
[Install]
WantedBy=multi-user.target