diff --git a/scripts/agy-daemon.service b/scripts/agy-daemon.service new file mode 100644 index 0000000..2d81901 --- /dev/null +++ b/scripts/agy-daemon.service @@ -0,0 +1,25 @@ +[Unit] +Description=Host agy Daemon for LLM-Routing Gateway +Documentation=https://github.com/sheepdestroyer/LLM-Routing +After=network.target +Wants=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/python3 %h/dev/LLM-Routing/scripts/host_agy_daemon.py +Restart=always +RestartSec=5 +StandardOutput=journal +StandardError=journal +SyslogIdentifier=agy-daemon + +# Security hardening +NoNewPrivileges=yes +PrivateTmp=yes +ProtectSystem=strict +ProtectHome=read-only +ReadWritePaths=%h/.gemini /tmp +ReadOnlyPaths=%h/.local/bin/agy + +[Install] +WantedBy=default.target