feat: add approval bound full maintenance script console and executors
Rust development slice / linux (push) Failing after 6s
Rust development slice / linux (push) Failing after 6s
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user