packaging/build-deb.sh baut mit cargo-deb beide Pakete für die Architektur des Rechners. Konfiguration in /etc/omega als conffiles mit absoluten Pfaden, Daten in /var/lib/omega, systemd-Units unter eigenen Systembenutzern; der Agent ist in der Gruppe docker und erzeugt bei der Installation den Token. Dienste starten erst nach Anpassen der Konfiguration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
656 B
Desktop File
31 lines
656 B
Desktop File
[Unit]
|
|
Description=Omega AI Proxy
|
|
Documentation=file:///usr/share/doc/omega-proxy/README.md
|
|
Wants=network-online.target
|
|
After=network-online.target omega-agent.service ollama.service
|
|
|
|
[Service]
|
|
User=omega
|
|
Group=omega
|
|
ExecStart=/usr/bin/omega-proxy -c /etc/omega/config.toml serve
|
|
WorkingDirectory=/var/lib/omega
|
|
StateDirectory=omega
|
|
StateDirectoryMode=0750
|
|
UMask=0077
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictSUIDSGID=true
|
|
LockPersonality=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|