20 lines
516 B
Desktop File
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
|