Files
codexpi/deploy/systemd/codexpi-host-agent.service
CodexPi 995b17a6e2
Some checks are pending
Qualité / tests (push) Waiting to run
feat: publish CodexPi contest snapshot
2026-11-14 20:23:59 +01:00

20 lines
516 B
Desktop File

[Unit]
Description=CodexPi private host agent channel
After=network-online.target
[Service]
Type=simple
User=__CODEXPI_USER__
Group=__CODEXPI_GROUP__
WorkingDirectory=__CODEXPI_ROOT__
ExecStart=/usr/bin/python3 __CODEXPI_ROOT__/scripts/codexpi_host_agent.py --socket __CODEXPI_ROOT__/data/host-agent/agent.sock --token-file __CODEXPI_ROOT__/data/host-agent/agent.token
Restart=on-failure
RestartSec=5
NoNewPrivileges=false
PrivateTmp=true
ProtectHome=false
ProtectSystem=false
[Install]
WantedBy=multi-user.target