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.
25 lines
535 B
INI
25 lines
535 B
INI
[Unit]
|
|
Description=Virt Cloud VPC batch worker %i
|
|
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 --vpc-batch-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
|