Source — /etc/systemd/system/goseek-agent-worker.service

/etc/systemd/system/goseek-agent-worker.service

[Unit]
Description=GoSeek agent queue worker (durable AI agent runs)
After=network.target postgresql.service redis-server.service
Wants=postgresql.service

[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/var/www/goseek
ExecStart=/usr/bin/php artisan queue:work agent --queue=agent --sleep=2 --tries=1 --timeout=1800 --max-time=3600
Restart=always
RestartSec=5
TimeoutStopSec=120

[Install]
WantedBy=multi-user.target