[Unit] Description=DECNET Orchestrator (synthetic life-injection — inter-decky traffic + file ops) Documentation=https://git.resacachile.cl/anti/DECNET/wiki/Workers#orchestrator After=network-online.target decnet-bus.service Wants=network-online.target decnet-bus.service [Service] Type=simple User={{ user }} Group={{ group }} WorkingDirectory={{ install_dir }} EnvironmentFile=-{{ install_dir }}/.env.local Environment=DECNET_SYSTEM_LOGS=/var/log/decnet/decnet.orchestrator.log ExecStart={{ venv_dir }}/bin/decnet orchestrate StandardOutput=append:/var/log/decnet/decnet.orchestrator.log StandardError=append:/var/log/decnet/decnet.orchestrator.log # The orchestrator drives `docker exec` against decky containers, so it # needs membership in the docker group. It does NOT bind to the network, # launch new containers, or write outside its own logs and install dir. SupplementaryGroups=docker CapabilityBoundingSet= AmbientCapabilities= # Security Hardening NoNewPrivileges=yes ProtectSystem=full ProtectHome=read-only PrivateTmp=yes ProtectKernelTunables=yes ProtectKernelModules=yes ProtectControlGroups=yes RestrictSUIDSGID=yes LockPersonality=yes ReadWritePaths={{ install_dir }} /var/log/decnet Restart=on-failure RestartSec=5 TimeoutStopSec=15 [Install] WantedBy=multi-user.target