Overview

Server daemons are background processes managed by supervisor. Loupp provides an interface for managing these processes with automatic restart capabilities.

Creating Daemons

1

Access daemon management

Navigate to your server dashboard and click on the “Daemons” tab.
2

Configure daemon details

  • Directory: Working directory (default: /home/loupp/)
  • Command: The command to run as a daemon
  • User: loupp or root
  • No of Process: Number of instances to run
  • Start Seconds: Time to wait before considering process started
  • Stop Seconds: Time to wait for graceful shutdown
3

Create daemon

Click “Create daemon” to create and start the daemon.

Configuration Options

Process Management

Working Directory

# Common working directory examples
/home/loupp/                    # User home directory
/home/loupp/my-site/        # Project-specific directory

Common Daemon Examples

Laravel Queue Workers

Daemon Management

Interface

The daemon interface displays:
  • Name: Daemon identifier with status indicator
  • User: User account running the daemon
  • Command: The command being executed
  • Actions: Restart, View Logs, Delete

Daemon Actions

Process Monitoring

Health Monitoring

  • Process Status: Check if processes are running
  • Log Access: View execution logs for debugging

Status Indicators

  • Green dot: Daemon is active and running
  • Red dot: Daemon is inactive or has errors

Log Management

Accessing Daemon Logs

1

Access logs

Click “View Logs” on any daemon to access its execution logs.
2

View log content

Review the log output including stdout, stderr, and process status.
3

Refresh logs

Use the “Refresh Logs” button to get the latest log entries.

Performance Optimization

Resource Management

  • Balance process count between performance and resource usage
  • Set appropriate memory limits for long-running processes

Troubleshooting

Common Issues