# systemd service for the VPS path. Copy to /etc/systemd/system/team-ai-hub.service [Unit] Description=Team AI Hub After=network.target [Service] Type=simple User=hub Group=hub WorkingDirectory=/opt/team-ai-hub ExecStart=/usr/bin/node app.js Restart=always RestartSec=3 Environment=NODE_ENV=production # Hardening NoNewPrivileges=true PrivateTmp=true ProtectSystem=full ProtectHome=true ReadWritePaths=/opt/team-ai-hub [Install] WantedBy=multi-user.target