[Unit]
Description=ZeroLagHub Game Provisioning Agent
After=network.target
Wants=network-online.target

[Service]
Type=simple
User=root
WorkingDirectory=/opt/zlh-agent
ExecStart=/opt/zlh-agent/zlh-agent
Restart=always
RestartSec=2
Environment=ZLH_AGENT_PORT=18888
Environment=ZLH_AGENT_ENV=production
LimitNPROC=infinity
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
