[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