Last active
August 20, 2025 15:41
-
-
Save thomasjsn/bc7d3a3b81d0118f6e89eef7d43f66f3 to your computer and use it in GitHub Desktop.
Revisions
-
Thomas Jensen revised this gist
May 28, 2016 . No changes.There are no files selected for viewing
-
Thomas Jensen renamed this gist
May 21, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Thomas Jensen created this gist
May 21, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # Laravel queue worker using systemd # ---------------------------------- # # /lib/systemd/system/queue.service # # run this command to enable service: # systemctl enable queue.service [Unit] Description=Laravel queue worker [Service] User=www-data Group=www-data Restart=on-failure ExecStart=/usr/bin/php /path/to/laravel/artisan queue:work --daemon --env=production [Install] WantedBy=multi-user.target