Skip to content

Instantly share code, notes, and snippets.

View standaniels's full-sized avatar

Stan Daniëls standaniels

View GitHub Profile
@standaniels
standaniels / after.sh
Last active March 9, 2022 06:08
Create supervisor program for Laravel queue worker in Homestead
#!/bin/sh
# This script creates a supervisor program for the Laravel queue worker and writes
# the log to the storage folder of the project. It also starts the http server on
# port 9001 so you need to add this port forwarding to your Homestead.yaml file.
sudo sh -c 'echo "[inet_http_server]
port = 9001
username = homestead
password = secret