[Unit] Description=Aggregate Caddy access logs into paas.db (per-app daily traffic) [Service] Type=oneshot User=deploy # Hard guarantees that this can never compete with request serving: # SCHED_IDLE = only gets CPU when nothing else wants it (stronger than nice), # idle IO class = disk reads yield to all normal IO, memory hard-capped. Nice=19 CPUSchedulingPolicy=idle IOSchedulingClass=idle MemoryMax=256M ExecStart=/usr/local/bin/paas-traffic-rollup