29 lines
860 B
Desktop File
29 lines
860 B
Desktop File
# Installed only with an exact root-owned node support-inode appointment.
|
|
[Unit]
|
|
Description=Archipelago durable protected OS staging custody
|
|
RequiresMountsFor=/var/lib/archipelago
|
|
After=local-fs.target
|
|
Before=archipelago-d09-lifecycle.service
|
|
ConditionPathExists=/etc/archipelago-os-custody.json
|
|
|
|
[Service]
|
|
Type=notify
|
|
User=root
|
|
Group=root
|
|
ExecStart=/usr/bin/python3 -B /usr/libexec/os_update_mount_custody.py serve
|
|
Restart=no
|
|
KillMode=control-group
|
|
TimeoutStopSec=30
|
|
NoNewPrivileges=yes
|
|
UMask=0077
|
|
# This owner deliberately establishes aliases in PID1's mount namespace;
|
|
# PrivateMounts/ProtectSystem/ReadWritePaths would make boot ordering ineffective.
|
|
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH
|
|
AmbientCapabilities=CAP_SYS_ADMIN CAP_DAC_OVERRIDE
|
|
MemoryMax=128M
|
|
MemorySwapMax=0
|
|
TasksMax=8
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|