You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/deploy/virt-cloud-worker.service

26 lines
612 B
INI

[Unit]
Description=Virt Cloud purchased VM provisioning worker
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