fix export of jsons

This commit is contained in:
2026-08-13 18:44:15 +02:00
parent 59d1d29458
commit fc60ab416e
2 changed files with 7 additions and 12 deletions
+5 -8
View File
@@ -13,15 +13,8 @@ Restart=on-failure
RestartSec=30
# Hardening
# StateDirectory is created automatically (with correct ownership) before
# the service starts and is writable under ProtectSystem=strict without a
# ReadWritePaths= entry - systemd exposes its absolute path via
# $STATE_DIRECTORY, which config.py picks up for persist_raw_json_dir.
# Unlike ReadWritePaths=, this does not require the directory to already
# exist on disk.
StateDirectory=vw-eu-data-act-exporter
NoNewPrivileges=true
ProtectSystem=strict
#ProtectSystem=strict #Enable this if exporting jsons is not needed
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
@@ -30,5 +23,9 @@ ProtectKernelModules=true
ProtectControlGroups=true
RestrictSUIDSGID=true
# Resource limits
MemoryMax=256M
CPUQuota=10%
[Install]
WantedBy=multi-user.target