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.
|
|
|
|
[Unit]
|
|
|
|
|
Description=Virt Cloud enforcement policy worker %i
|
|
|
|
|
# Policy workers call the registered Go Agent over its authenticated API. Do
|
|
|
|
|
# not create a systemd dependency on the retired local Python Engine (or on a
|
|
|
|
|
# same-host Agent unit): one panel serves multiple remote hosts.
|
|
|
|
|
After=network-online.target
|
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=simple
|
|
|
|
|
User=apache
|
|
|
|
|
Group=apache
|
|
|
|
|
WorkingDirectory=/home/virt-cloud/web
|
|
|
|
|
ExecStart=/usr/bin/php /home/virt-cloud/web/xcat cloudWorker --policy-only
|
|
|
|
|
Restart=on-failure
|
|
|
|
|
RestartSec=3
|
|
|
|
|
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
|