13 lines
301 B
SYSTEMD
13 lines
301 B
SYSTEMD
|
[Unit]
|
||
|
Description=Blue Twilight E-mail Queue Runner
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory=/data/www/blue-twilight.andysh.dev/
|
||
|
ExecStart=/usr/bin/php artisan bt-queue:send-emails --poll
|
||
|
Restart=on-failure
|
||
|
User=www-data
|
||
|
Group=www-data
|
||
|
Environment=USER=www-data HOME=/var/www
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|