interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / scripts / allen / catalog / allen-catalog.service

49 lines · 1644 bytes Raw Blame History
1# Allen's public catalog: reads only unauthenticated GitHub sources (public repos,
2# aienos.com seo.rs) and writes /var/lib/allen-catalog/{catalog,areas}.txt for the
3# allen-chat gateway. Runs as the credential-less system user allen-catalog; git runs
4# with credential.helper= and GIT_CONFIG_GLOBAL=/dev/null. Fails closed: a failed fetch
5# exits nonzero and the old files stay; unchanged output is not rewritten.
6[Unit]
7Description=Allen public catalog (unauthenticated GitHub read)
8Wants=network-online.target
9After=network-online.target
10
11[Service]
12Type=oneshot
13User=allen-catalog
14Group=allen-catalog
15Nice=19
16TimeoutStartSec=300
17ExecStart=/usr/bin/python3 -I /opt/allen-catalog/catalog.py /var/lib/allen-catalog
18Environment=HOME=/nonexistent
19UMask=0022
20
21NoNewPrivileges=yes
22CapabilityBoundingSet=
23AmbientCapabilities=
24PrivateUsers=yes
25ProtectSystem=strict
26ProtectHome=yes
27ReadWritePaths=/var/lib/allen-catalog
28PrivateTmp=yes
29PrivateDevices=yes
30ProtectKernelTunables=yes
31ProtectKernelModules=yes
32ProtectKernelLogs=yes
33ProtectControlGroups=yes
34ProtectClock=yes
35ProtectHostname=yes
36ProtectProc=invisible
37ProcSubset=pid
38RestrictNamespaces=yes
39RestrictRealtime=yes
40RestrictSUIDSGID=yes
41LockPersonality=yes
42MemoryDenyWriteExecute=yes
43SystemCallArchitectures=native
44SystemCallFilter=@system-service
45RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
46# Outbound HTTPS to GitHub only in practice: no loopback (the model server), LAN or
47# tailnet; the local DNS stub stays reachable.
48IPAddressAllow=127.0.0.53
49IPAddressDeny=127.0.0.0/8 ::1/128 169.254.0.0/16 fe80::/10 224.0.0.0/4 ff00::/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 100.64.0.0/10 fc00::/7