[Unit] Description=Virt Cloud privileged update helper After=network-online.target mariadb.service Wants=network-online.target [Service] Type=simple User=root Group=apache WorkingDirectory=/home/virt-cloud ExecStart=/home/virt-cloud/bin/virt-cloud-update --config /home/virt-cloud/runtime/update.json Restart=on-failure RestartSec=5 UMask=0007 # UMask/RuntimeDirectoryMode only harden newly created files; the helper does # not audit the owner, group, or mode of its readable JSON configuration. RuntimeDirectory=virt-cloud RuntimeDirectoryMode=0750 NoNewPrivileges=true PrivateTmp=true ProtectHome=false ProtectSystem=strict ReadWritePaths=/home/virt-cloud /run/virt-cloud LimitCORE=0 TimeoutStopSec=10min [Install] WantedBy=multi-user.target