32 lines
986 B
Desktop File
32 lines
986 B
Desktop File
[Unit]
|
|
Description=RMM explicitly approved full host maintenance script helper
|
|
After=time-sync.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Deliberate full host authority for separately approved full_maintenance_v1
|
|
# scripts. This is NOT a sandbox and cannot promise no reboot or agent changes.
|
|
User=root
|
|
Group=rmm-agent
|
|
StateDirectory=rmm-helper
|
|
StateDirectoryMode=0700
|
|
RuntimeDirectory=rmm-helper-maintenance
|
|
RuntimeDirectoryMode=0750
|
|
UMask=0077
|
|
Environment=RMM_HELPER_CONFIG=/etc/rmm-remote/helper-full-maintenance.json
|
|
ExecStart=/usr/local/libexec/rmm-privileged-helper
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
# Retain the host filesystem, network, home paths, capabilities and syscalls.
|
|
# General/APT units keep their existing restrictions. No inherited hardening
|
|
# drop-in may silently contradict this profile; inspect merged unit predeploy.
|
|
PrivateTmp=false
|
|
PrivateNetwork=false
|
|
ProtectSystem=false
|
|
ProtectHome=false
|
|
NoNewPrivileges=false
|
|
KillMode=control-group
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|