[Unit] Description=IISHKO moderation policy (loopback only, no Telegram poller) Documentation=file:/opt/iishko/deploy/README.md After=network-online.target Wants=network-online.target [Service] Type=simple User=root WorkingDirectory=/opt/iishko # Native EnvironmentFile: the Go binary is not started through scripts/run.py. # IISHKO_MODERATION_TOKEN is required (see deploy/runtime.env.example). EnvironmentFile=/etc/iishko/runtime.env ExecStart=/opt/iishko/bin/iishko-moderation -addr 127.0.0.1:48003 Restart=on-failure RestartSec=3 TimeoutStopSec=15 NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true # Runtime state is written under /opt/iishko/var (DBs, logs). ReadWritePaths=/opt/iishko/var RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX CapabilityBoundingSet= MemoryMax=128M TasksMax=32 UMask=0077 [Install] WantedBy=multi-user.target