Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Platform Agent
|
||||
After=network-online.target docker.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/platform-agent
|
||||
ExecStart=/home/ubuntu/.bun/bin/bun src/server.tsx
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
Environment=HOST=0.0.0.0
|
||||
Environment=AGENT_CONFIG=/opt/platform-agent/agent.config.json
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user