26 lines
764 B
Desktop File
26 lines
764 B
Desktop File
[Unit]
|
|
Description=Archipelago appointed runtime socket registration
|
|
Requires=archipelago-c01-network.service
|
|
After=archipelago-c01-network.service user@1000.service
|
|
|
|
[Service]
|
|
Type=exec
|
|
User=root
|
|
Group=root
|
|
ExecStart=/usr/bin/python3 -I -S /usr/lib/archipelago/c01_runtime_endpoints.py
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=strict
|
|
# Allow the explicit read-only runtime bind without exposing operator homes.
|
|
ProtectHome=tmpfs
|
|
BindReadOnlyPaths=/run/user/1000
|
|
PrivateTmp=yes
|
|
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE
|
|
AmbientCapabilities=CAP_SYS_PTRACE CAP_DAC_OVERRIDE
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
|
Restart=no
|
|
KillMode=control-group
|
|
TasksMax=8
|
|
MemoryMax=128M
|
|
MemorySwapMax=0
|
|
LimitNOFILE=2048
|