[Unit] Description=Clawdbot Gateway After=network.target [Service] # Replace with your linux username (e.g. ubuntu, pi, etc) User= # Replace with the absolute path to the repo (e.g. /home/user/clawdbot) WorkingDirectory= # Adjust node path if necessary (run 'which node' to find yours) # You can change the port or auth settings here ExecStart=/usr/bin/node dist/entry.js gateway --port 18789 --auth token --token # Restart configuration Restart=always RestartSec=3 Environment=NODE_ENV=production [Install] WantedBy=multi-user.target