30 lines
643 B
Desktop File
30 lines
643 B
Desktop File
[Unit]
|
|
Description=RMM independently authorizing local privileged executor
|
|
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.json
|
|
ExecStart=/usr/local/libexec/rmm-privileged-helper
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictSUIDSGID=true
|
|
RestrictAddressFamilies=AF_UNIX
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|