inital impl

This commit is contained in:
2026-08-13 17:41:04 +02:00
parent 1c54a6b7b2
commit 05b2ad9f8d
6 changed files with 901 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
[Unit]
Description=VW EU Data Act Prometheus Exporter
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=vw-exporter
Group=vw-exporter
WorkingDirectory=/opt/vw-eu-data-act-exporter
ExecStart=/opt/vw-eu-data-act-exporter/venv/bin/python3 /opt/vw-eu-data-act-exporter/vw-eu-data-act-exporter.py
Restart=on-failure
RestartSec=30
# Hardening
ReadWritePaths=/opt/vw-eu-data-act-exporter/raw_json
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictSUIDSGID=true
[Install]
WantedBy=multi-user.target