[Unit]
Description=Prune EasyAI Gateway legacy local files older than 24 hours
After=docker.service

[Service]
Type=oneshot
ExecStart=/usr/local/sbin/easyai-prune-legacy-generated --apply
User=root
Group=root
Nice=10
IOSchedulingClass=idle
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=/var/lib/docker/volumes/easyai-ai-gateway_api_data/_data/static
