Workers
The workers command group allows you to manage background processes via Supervisor (Octane, queue workers, Kafka consumer, etc.).
Privileges
Section titled “Privileges”suricatavel behaves the same with or without sudo, but it never runs PHP as root. Run as root, it runs PHP as the suricatavel user and keeps suricatavel-helper running as root only while the command lasts, for the Supervisor and package operations that need it. Run as suricatavel (as in Docker), those operations reach Supervisor only where its socket allows it.
The code (/usr/share/suricatavel) is owned by root and read-only for the application; the suricatavel user owns only its configuration (/etc/suricatavel/.env, mode 0600), its state (/var/lib/suricatavel), its caches (/var/cache/suricatavel) and its logs (/var/log/suricatavel).
Available actions
Section titled “Available actions”| Action | Description |
|---|---|
status |
Show status of all workers. |
start |
Start a worker or all workers. |
stop |
Stop a worker or all workers. |
restart |
Restart a worker or all workers. |
logs |
Tail logs for a specific worker. |
Available workers
Section titled “Available workers”| Worker | Description |
|---|---|
deployments |
Handles deployment tasks. |
drongo |
Runs the jobs of the Drongo analytical engine. |
enrichments |
Processes data enrichment. |
events |
Handles event processing. |
firewalls |
Manages firewall rules. |
kafka |
Consumes Kafka events. |
reverb |
WebSocket server. |
scheduler |
System task scheduler. |
socket |
Socket service. |
web |
The application server. |
default |
Default queue worker. |
Examples
Section titled “Examples”# Show status of all workerssuricatavel workers status
# Start all workerssuricatavel workers start
# Restart all workerssuricatavel workers restart
# Restart specific worker (e.g. 'web')suricatavel workers restart web
# Tail logs for a workersuricatavel workers logs webShortcuts
Section titled “Shortcuts”Shortcuts are available for common operations:
# Restart everything (equivalent to `suricatavel workers restart all`)suricatavel restart
# Restart specific workersuricatavel web restart
# Show status of specific workersuricatavel web status
