Deploy the quota-aware local website restore socket
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-21 14:42:38 +01:00
1 parent 215894aa24
commit 14aabb8da7
6 files changed
+86

No files matched your search

@@ -0,0 +1,22 @@
[Unit]
Description=Coulobre local website restore request
CollectMode=inactive-or-failed
[Service]
Type=exec
User=root
WorkingDirectory=/opt/coulobre
StateDirectory=coulobre/account-restores
StateDirectoryMode=0700
ReadWritePaths=-/srv/coulobre/web
UMask=0077
ExecStart=/opt/coulobre/bin/coulobre-account-backup restore-website-request
StandardInput=socket
StandardOutput=socket
StandardError=journal
RuntimeMaxSec=30min
NoNewPrivileges=true
CapabilityBoundingSet=~CAP_SYS_RESOURCE
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict