interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / infra / spark / interplane-visits.service
| 1 | # INTERPLANE owner analytics: the private visits page. Install: visits/README.md "Install". |
| 2 | [Unit] |
| 3 | Description=INTERPLANE owner analytics: rewrite the private visits page when forged's access log changes (continuous; inotify through aien-onchange, at most once every 5 minutes) |
| 4 | |
| 5 | [Service] |
| 6 | WorkingDirectory=%h/forge-data/owner |
| 7 | ExecStart=%h/.local/bin/aien-onchange 300 86400 %h/forge-data/logs -- %h/.local/share/interplane-owner/visits %h/forge-data/logs/forged.log |
| 8 | Restart=always |
| 9 | RestartSec=5 |
| 10 | Nice=15 |
| 11 | CPUAffinity=4 5 |
| 12 | UMask=0077 |
| 13 | NoNewPrivileges=yes |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=default.target |