Deployed version
This commit is contained in:
19
deploy/mcplet-a2a.service
Normal file
19
deploy/mcplet-a2a.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=MCPletA2A Platform Host
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ubuntu
|
||||
WorkingDirectory=/home/ubuntu/MCPletA2A
|
||||
EnvironmentFile=/home/ubuntu/MCPletA2A/deploy/.env
|
||||
Environment=REF_IMPL_DIST=/home/ubuntu/MCPletA2A/reference_impl/dist
|
||||
Environment=MCPLET_CONFIG=/home/ubuntu/MCPletA2A/reference_impl/config/reference.yaml
|
||||
Environment=MCPLET_AGENT_MODULE=file:///home/ubuntu/MCPletA2A/reference_impl/dist/agents/register.js
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=/bin/bash /home/ubuntu/MCPletA2A/deploy/start-vps.sh
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user