This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Lumbridge Compute resident Scene supervisor and model gateway
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=lumbridge
|
||||
Environment=HOME=/var/lib/lumbridge
|
||||
Environment=LUMBRIDGE_COMPUTE_ROOT=$LUMBRIDGE_COMPUTE_ROOT
|
||||
ExecStart=/usr/local/bin/lumbridge-compute agent --listen 127.0.0.1:8011 --upstream 127.0.0.1:8001 --floor 3
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
# Model process groups are lifecycle-owned by Compute and must survive an agent
|
||||
# binary restart; the agent will revalidate their boot/start identities on resume.
|
||||
KillMode=process
|
||||
TimeoutStopSec=15
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user