# ~/.config/systemd/user/messenger-worker.service # see https://symfony.com/doc/current/messenger.html#systemd-configuration [Unit] Description=Symfony messenger-consume for Ginger bundle [Service] # point this at the relevant console binary ExecStart=php /var/www/html/yourproject/bin/console messenger:consume async --time-limit=3600 async Restart=always RestartSec=30 [Install] WantedBy=default.target