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.
virt/deploy/virt-cloud-update.service

29 lines
746 B
INI

[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