#Example configuration to start Laravel Reverb as a linux service. [Unit] Description=Laravel Reverb WebSocket Server After=network.target [Service] Type=simple User=www-data Group=www-data WorkingDirectory=/var/www/rte ExecStart=/usr/bin/php /var/www/rte/artisan reverb:start Restart=always RestartSec=5 StandardOutput=append:/var/log/reverb.log StandardError=append:/var/log/reverb.log [Install] WantedBy=multi-user.target