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.
23 lines
639 B
INI
23 lines
639 B
INI
[Unit]
|
|
Description=Virsh Panel one-shot update from the pinned private Gitea repository
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/home/virsh-panel
|
|
Environment=PANEL_DATA_DIR=/home/virsh-panel/data
|
|
Environment=PYTHONDONTWRITEBYTECODE=1
|
|
ExecStart=/home/virsh-panel/.venv/bin/python -m virsh_panel.update_worker
|
|
ExecStopPost=/home/virsh-panel/.venv/bin/python -m virsh_panel.update_worker --finalize-incomplete
|
|
TimeoutStartSec=30min
|
|
UMask=0077
|
|
LimitCORE=0
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=false
|
|
ReadWritePaths=/home/virsh-panel
|