Files
archy/image-recipe/configs/archipelago-c01-access.service.in

38 lines
1.3 KiB
Plaintext

# UNINSTALLED. No automatic migration. Coordinator must first qualify and run the
# separately guarded transition unit in this template's documented contract.
[Unit]
Description=Archipelago C01 live access and retired-writer enforcement owner
After=local-fs.target
Before=archipelago-runtime-broker.service @SUPERVISOR_UNIT@
RequiresMountsFor=/var/lib/archipelago-c01/access @ORIGINAL_RUNTIME_DATA@
[Service]
Type=notify
NotifyAccess=main
User=root
Group=root
ExecStart=/usr/bin/python3 -I -S /usr/lib/archipelago/c01_access.py serve
Environment=PYTHONDONTWRITEBYTECODE=1
UMask=0077
Delegate=yes
DelegateSubgroup=supervisor
Restart=no
KillMode=mixed
SendSIGKILL=no
TimeoutStopSec=infinity
# Root MainPID retains its lock and helper cgroup through unresolved retirement.
# Do not introduce RuntimeMaxSec, WatchdogSec, or a restart-on-failure override.
TasksMax=64
MemoryMax=256M
MemorySwapMax=0
CPUQuota=100%
NoNewPrivileges=yes
LimitCORE=0
# Deliberately share the host mount/net view: checker compares runtime views to
# the real host. ProtectHome/PrivateNetwork here would invalidate that evidence.
# /run/archipelago-c01 is shared with the supervisor: provision root:root0755 via
# packaging, never use RuntimeDirectory cleanup to unlink another owner's files.
[Install]
WantedBy=multi-user.target