36 lines
1.1 KiB
Desktop File
36 lines
1.1 KiB
Desktop File
[Unit]
|
|
Description=RMM dev-test root helper readiness (APT execution disabled)
|
|
After=time-sync.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=rmm-agent
|
|
StateDirectory=rmm-helper
|
|
StateDirectoryMode=0700
|
|
RuntimeDirectory=rmm-helper
|
|
RuntimeDirectoryMode=0750
|
|
UMask=0077
|
|
Environment=RMM_HELPER_CONFIG=/etc/rmm/helper-dev-test-v1.json
|
|
ExecStart=/usr/local/libexec/rmm-privileged-helper
|
|
Restart=no
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
PrivateNetwork=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictSUIDSGID=true
|
|
RestrictAddressFamilies=AF_UNIX
|
|
CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID CAP_SETPCAP CAP_SETFCAP
|
|
AmbientCapabilities=
|
|
SystemCallFilter=~@mount @reboot @swap @raw-io @module @clock @debug
|
|
|
|
# This readiness unit intentionally CANNOT set up the APT worker's namespaces
|
|
# or device nodes. Do not remove these restrictions to make a demo pass.
|
|
# apt_provider remains null until a separately reviewed native runner exists.
|
|
[Install]
|
|
WantedBy=multi-user.target
|