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.
26 lines
642 B
INI
26 lines
642 B
INI
[Unit]
|
|
Description=Virt Cloud Agent connection and reverse console gateway
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=apache
|
|
Group=apache
|
|
WorkingDirectory=/home/virt-cloud
|
|
ExecStart=/home/virt-cloud/bin/virt-cloud-agent-gateway --config /home/virt-cloud/runtime/agent-gateway.json
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
UMask=0077
|
|
# UMask only hardens newly created files; the gateway does not audit the owner,
|
|
# group, or mode of its readable JSON configuration.
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectHome=false
|
|
ProtectSystem=strict
|
|
LimitCORE=0
|
|
TimeoutStopSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|