kcg-monitoring/deploy/kcg-backend-deploy.timer
htlee 150b236ee8 fix(deploy): 폴링 타이머로 백엔드 자동 재시작
- Docker 컨테이너에서 nsenter/inotify 불가 → 30초 폴링 타이머로 변경
- kcg-backend-deploy.timer: 30초마다 JAR mtime 체크
- kcg-backend-deploy.service: JAR 갱신 감지 시 systemd 파일 교체 + restart
- watcher.path(inotify 기반) 제거, deploy.timer(폴링 기반)로 교체

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 06:29:28 +09:00

10 lines
141 B
SYSTEMD

[Unit]
Description=Poll for KCG Backend deploy (JAR update check)
[Timer]
OnBootSec=60
OnUnitActiveSec=30
[Install]
WantedBy=timers.target