Files
codexpi/deploy/systemd/codexpi-docker-access.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

18 lines
462 B
Desktop File

[Unit]
Description=Repair CodexPi access to the Docker socket
Documentation=file:///home/config/CodexPi/docs/installation.md
After=docker.service
ConditionPathIsSocket=/var/run/docker.sock
[Service]
Type=oneshot
User=__CODEXPI_UID__
Group=__CODEXPI_GID__
SupplementaryGroups=__DOCKER_GROUP__
WorkingDirectory=/home/config/CodexPi
ExecStart=/home/config/CodexPi/scripts/ensure-docker-access.sh
NoNewPrivileges=true
PrivateTmp=true
UMask=0077
TimeoutStartSec=180