28 lines
700 B
Desktop File
28 lines
700 B
Desktop File
[Unit]
|
|
Description=InvestMoz Laravel database queue
|
|
After=network-online.target clamav-daemon.service
|
|
Wants=network-online.target
|
|
Wants=clamav-daemon.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=www-data
|
|
Group=www-data
|
|
WorkingDirectory=/var/www/investemoz
|
|
ExecStart=/usr/bin/php8.5 /var/www/investemoz/artisan queue:work database --queue=default --sleep=3 --tries=3 --timeout=150 --max-time=3600
|
|
Restart=always
|
|
RestartSec=5
|
|
TimeoutStopSec=60
|
|
KillSignal=SIGTERM
|
|
UMask=0027
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/var/www/investemoz/storage /var/www/investemoz/bootstrap/cache
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|