HAL 제어 평면(릴리스·서버·Agent·작업·모듈 배포·운영자 계정·긴급 복구·재해복구·공개 상태), Node Agent, 배포 스크립트·유닛·nginx 템플릿, 릴리스 도구, 포털 HAL 클라이언트 (§28·§29·§32~§34)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
403d0fb845
commit
6b5a014041
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=Ariweb Node Agent ({{VERSION}})
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{USER}}
|
||||
Group={{USER}}
|
||||
WorkingDirectory={{APP_DIR}}/current
|
||||
Environment=NODE_ENV=production
|
||||
Environment=ARIWEB_AGENT_DATA={{APP_DIR}}/data
|
||||
Environment=NODE_OPTIONS=--no-warnings
|
||||
Environment=PATH=/usr/local/bin:/usr/bin:/bin:/snap/bin
|
||||
{{ENV_LINES}}
|
||||
ExecStart={{NODE}} agent/index.mjs run
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=ariweb-agent
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user