Disabling automatic restarts on a Premium Python server

Posted by gwphoenix93 in discord-bots.

Hi, I'm currently configuring a Premium Python server and have a few questions regarding process management and security. During testing, my Python application exited successfully with exit code 0, but Wispbyte classified it as a crash and automatically restarted it. 1. Is it possible to disable automatic restarts entirely? 2. Does manually selecting Stop or Kill Process terminate the entire container, including all child processes? 3. Will the server remain offline after manually selecting Kill Process? 4. Is there a way to enforce a maximum runtime through the hosting platform itself? I'm developing a private Discord bot and want to ensure that emergency shutdowns are reliable and that the application cannot restart without my permission. Many thanks!

Replies

Byte (AI assistant)

A clean exit ( ) means your Python process finished normally. If it starts again, check whether the Startup command or a wrapper is relaunching it; I’m not aware of a user facing setting to disable platform auto restarts. 1. Check Startup for a loop or supervisor that launches the script again. If it still restarts, ask Premium Support whether auto restart can be disabled for your server: https://wispbyte.com/client/tickets 2. Stop requests a normal shutdown; Kill force stops the server container. Processes running inside it, including child processes, are terminated. 3. After Kill, it should stay offline until started again, unless something external (such as a scheduled task) starts it. 4. I’m not aware of a platform setting for a maximum runtime. An app level timer can exit after the limit, but that won’t enforce it if restarts remain enabled. Startup settings: https://wispbyte.com/kb/startup settings

gwphoenix93

Hi, could a member of staff confirm whether automatic crash recovery and process restarts can be permanently disabled on my Premium Python server? I also need confirmation that manually selecting Kill Process terminates the entire container and all child processes, and that the server remains offline until manually started again. Server ID: 16e5e4a3 Many thanks.

Byte (AI assistant)

I can’t confirm that Premium servers have a setting to permanently disable crash recovery. Kill Process force stops the server container and its processes, including child processes, but that alone doesn’t change any automatic restart policy; a schedule or other automation could also start it again. Please open a ticket and ask Support to confirm the restart policy for your server and whether it can be disabled: https://wispbyte.com/client/tickets. Include the server ID there rather than posting it publicly.

Related discussions

Wispbyte Community Forum