[Unit] Description=Zopu Agent Service (Flue Node server) After=network-online.target zopu-daemon.service Wants=network-online.target [Service] Type=simple User=__SERVICE_USER__ Group=__SERVICE_USER__ WorkingDirectory=__INSTALL_DIR__/packages/agents EnvironmentFile=__INSTALL_DIR__/.env # Flue build output: packages/agents/dist/server.mjs # Listens on PORT (default 3583 per .env.template). ExecStart=/usr/local/bin/bun dist/server.mjs Restart=always RestartSec=10 StandardOutput=journal StandardError=journal SyslogIdentifier=zopu-agent # Resource limits MemoryMax=8G CPUWeight=80 # Security hardening NoNewPrivileges=true ProtectSystem=full ProtectHome=true PrivateTmp=true # Docker socket access for Orb sandbox runtime (lives in agent process) SupplementaryGroups=docker [Install] WantedBy=multi-user.target