[Unit] Description=Virt Cloud purchased VM provisioning worker # Agent endpoints are selected per host by the PHP control plane. They may be # remote, so this panel worker must not wait for a local Python Engine or a # local Agent unit. Availability is handled by the Agent readiness gate and # operation reconciliation in PHP. After=network-online.target Wants=network-online.target [Service] Type=simple # AlmaLinux PHP-FPM normally runs as apache; use the same user as your PHP pool. User=apache Group=apache WorkingDirectory=/home/virt-cloud/web ExecStart=/usr/bin/php /home/virt-cloud/web/xcat cloudWorker Restart=on-failure RestartSec=5 UMask=0077 NoNewPrivileges=true PrivateTmp=true ProtectHome=false ProtectSystem=strict ReadWritePaths=-/home/virt-cloud/runtime/php ReadWritePaths=-/home/virt-cloud/web/storage TimeoutStopSec=30 [Install] WantedBy=multi-user.target