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 / om / agora / deploy / aien-agora.service

46 lines · 1120 bytes Raw Blame History
1[Unit]
2Description=Aienet public registration backend in Omega
3After=network-online.target
4Wants=network-online.target
5
6[Service]
7Type=simple
8User=aien-agora
9Group=aien-agora
10StateDirectory=aien-agora
11StateDirectoryMode=0750
12UMask=0077
13Environment=AGORA_LISTEN=127.0.0.1
14EnvironmentFile=-/etc/aien-agora/runtime.env
15WorkingDirectory=/var/lib/aien-agora
16ExecStart=/opt/aien/bin/agora serve --state /var/lib/aien-agora --listen ${AGORA_LISTEN} --port 18132 --bits 20
17Restart=always
18RestartSec=5s
19
20# Security hardening
21ProtectSystem=strict
22ProtectHome=true
23ReadWritePaths=/var/lib/aien-agora
24PrivateTmp=true
25NoNewPrivileges=true
26CapabilityBoundingSet=
27AmbientCapabilities=
28RestrictAddressFamilies=AF_INET
29RestrictSUIDSGID=true
30ProtectKernelTunables=true
31ProtectKernelModules=true
32ProtectControlGroups=true
33
34# Fail closed to loopback by default. A reviewed local drop-in may add the
35# exact trusted proxy address, never a whole network. Verify cgroup BPF.
36IPAddressAllow=
37IPAddressAllow=127.0.0.1/32
38IPAddressDeny=any
39IPAccounting=true
40
41# Resource caps
42LimitNOFILE=65536
43LimitNPROC=256
44
45[Install]
46WantedBy=multi-user.target