Implement guarded Linux updater runtime and compatible baseline tooling
Rust development slice / linux (push) Failing after 8s
Rust development slice / linux (push) Failing after 8s
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
[Unit]
|
||||
Description=RMM stable updater for individually approved original code-pair jobs
|
||||
After=time-sync.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
UMask=0077
|
||||
RuntimeDirectory=rmm-agent-updater
|
||||
RuntimeDirectoryMode=0700
|
||||
ExecStart=/usr/local/libexec/rmm-agent-updater --serve
|
||||
# An ambiguous handoff must be inspected, never automatically resumed by a
|
||||
# replacement updater process. A successful pass reloads its new record in the
|
||||
# same still-authenticated process for the next independently approved job.
|
||||
Restart=no
|
||||
NoNewPrivileges=yes
|
||||
PrivateTmp=yes
|
||||
PrivateNetwork=yes
|
||||
ProtectHome=yes
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/usr/local/libexec /etc/rmm-remote /var/lib/rmm-agent-updater /var/lib/rmm-helper /var/lib/rmm-agent-remote
|
||||
RestrictAddressFamilies=AF_UNIX
|
||||
KillMode=control-group
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user