Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/scripts/allen/catalog/allen-catalog.service # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers 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] 7 Description=Allen public catalog (unauthenticated GitHub read) 8 Wants=network-online.target 9 After=network-online.target 10 11 [Service] 12 Type=oneshot 13 User=allen-catalog 14 Group=allen-catalog 15 Nice=19 16 TimeoutStartSec=300 17 ExecStart=/usr/bin/python3 -I /opt/allen-catalog/catalog.py /var/lib/allen-catalog 18 Environment=HOME=/nonexistent 19 UMask=0022 20 21 NoNewPrivileges=yes 22 CapabilityBoundingSet= 23 AmbientCapabilities= 24 PrivateUsers=yes 25 ProtectSystem=strict 26 ProtectHome=yes 27 ReadWritePaths=/var/lib/allen-catalog 28 PrivateTmp=yes 29 PrivateDevices=yes 30 ProtectKernelTunables=yes 31 ProtectKernelModules=yes 32 ProtectKernelLogs=yes 33 ProtectControlGroups=yes 34 ProtectClock=yes 35 ProtectHostname=yes 36 ProtectProc=invisible 37 ProcSubset=pid 38 RestrictNamespaces=yes 39 RestrictRealtime=yes 40 RestrictSUIDSGID=yes 41 LockPersonality=yes 42 MemoryDenyWriteExecute=yes 43 SystemCallArchitectures=native 44 SystemCallFilter=@system-service 45 RestrictAddressFamilies=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. 48 IPAddressAllow=127.0.0.53 49 IPAddressDeny=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