Files
codexpi/deploy/systemd/codexpi-host-agent.service

20 lines
516 B
SYSTEMD
Raw Permalink Normal View History

2026-11-14 20:23:59 +01:00
[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