update
This commit is contained in:
26
agent/packaging/vps-agent-helper@.service
Normal file
26
agent/packaging/vps-agent-helper@.service
Normal file
@@ -0,0 +1,26 @@
|
||||
[Unit]
|
||||
Description=VPS Control privileged helper request
|
||||
Documentation=https://github.com/example/vps-control
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/vps-agent --privileged-helper --config /etc/vps-agent/config.toml
|
||||
StandardInput=socket
|
||||
StandardOutput=socket
|
||||
StandardError=journal
|
||||
User=root
|
||||
Group=root
|
||||
TimeoutStartSec=330
|
||||
UMask=0077
|
||||
PrivateTmp=true
|
||||
ProtectHome=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
ProtectClock=true
|
||||
ProtectHostname=true
|
||||
RestrictSUIDSGID=true
|
||||
LockPersonality=true
|
||||
RestrictRealtime=true
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
||||
Reference in New Issue
Block a user