blue-twilight/resources/systemd/blue-twilight-email.service

13 lines
301 B
SYSTEMD
Raw Permalink Normal View History

[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