Supervisor is a process control system that you can use to oversee and manage your specified system’s processes. It shines when used to monitor and resume long-running programs or services automatically in the event of a failure. Supervisor is a powerful tool for ensuring that your apps are running reliably, especially in production environments.
In xCloud, you can set a supervisor command with just a few clicks. Follow the steps below:
Step 1: Access Server Management #
Begin by logging into your server and navigating to the โManagementโ section. From there, select โSupervisorโ on the dashboard.

Step 2: Add a New Supervisor Process #
Click on the โAdd New Supervisor Processโ button. You will see several configuration fields, including:
- Command โ The command to run your process.
- Directory โ The working directory of the process.
- User โ The user under which the process will run.
- Root โ Whether the process should run as root.
- Number of Processes โ How many instances to run.
- Start Seconds โ Delay before considering the process started.
- Stop Seconds โ Grace period before force-stopping the process.
- Stop Signal โ The signal used to stop the process.
Fill in the โCommandโ field with the appropriate command for your process, such as:
php artisan queue:work
- Ideal for background queue processing in Laravel applications.
node app.js
- Useful for running your Node.js server continuously.
You may customize the remaining fields as needed or leave them with their default values. Once complete, click on the โAdd Supervisor Processโ button.

The process will then be added to your supervisor list and managed automatically by Supervisor. Here, you will get more option, โEditโ, โRestartโ, โ Pauseโ, โOutputโ to manage your process . Also you can click on the โ Deleteโ button to stop and delete the process.

And that is it! This is how easily you can set up and manage processes using Supervisor. With just a few simple steps, you can ensure your applications are always running smoothly and automatically recover from unexpected failures. It is a quick and effective way to maintain stability and reliability on your server.
Still, feeling stuck? Contact our dedicated support team for further assistance.