Files
archy/image-recipe/configs/archipelago-runtime-broker.service.in

34 lines
921 B
Plaintext

# UNINSTALLED. Requires qualified account retirement, views and unit provisioning.
[Unit]
Description=Archipelago root-created runtime listener and live identity broker
After=local-fs.target
RequiresMountsFor=@RUNTIME_DATA_DIR@
Wants=user@@ORIGINAL_RUNTIME_UID@.service
# Deliberately no PartOf/BindsTo/Requires relationship to the manager service.
[Service]
Type=notify
User=root
Group=root
ExecStart=/usr/bin/python3 -I -S /usr/lib/archipelago/c01_runtime.py broker
Environment=PYTHONDONTWRITEBYTECODE=1
RuntimeDirectory=archipelago-runtime archipelago-managed
RuntimeDirectoryMode=0755
UMask=0077
Restart=no
TimeoutStartSec=90
TimeoutStopSec=30
KillMode=control-group
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/run/archipelago-runtime /run/archipelago-managed
NoNewPrivileges=yes
PrivateTmp=yes
RestrictAddressFamilies=AF_UNIX
TasksMax=8
MemoryMax=128M
MemorySwapMax=0
[Install]
WantedBy=multi-user.target