https://github.com/jericizon/laravisor
Generate laravel supervisor configuration in easiest way
https://github.com/jericizon/laravisor
laravel laravisor queue supervisor
Last synced: 5 months ago
JSON representation
Generate laravel supervisor configuration in easiest way
- Host: GitHub
- URL: https://github.com/jericizon/laravisor
- Owner: jericizon
- License: mit
- Created: 2020-02-18T04:44:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-18T05:40:30.000Z (over 6 years ago)
- Last Synced: 2023-07-15T05:22:35.033Z (almost 3 years ago)
- Topics: laravel, laravisor, queue, supervisor
- Language: PHP
- Size: 7.81 KB
- Stars: 20
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravisor
Generate laravel supervisor configuration in easiest way.
Before proceeding make sure you already have supervisor installed into your server.
https://laravel.com/docs/master/queues#supervisor-configuration
## Configure supervisor
Update supervisor config, edit the file or equivalent.
/etc/supervisor/supervisord.conf
Update line below:
```
[include]
files = {your_project_root_path}/config/laravisor-conf/*.conf
```
## Installation
$ composer require jericizon/laravisor
### Publish config files
$ php artisan vendor:publish --tag=laravisor-config
### Create supervisor config file
$ php artisan laravisor:create {worker_name}
### Restart supervisor
$ php artisan laravisor:restart
After creating new config file. make sure restart the supervisor in able to get the new configuration
## License
MIT
Copyright (c) 2020, Jeric