27 lines
641 B
Desktop File
27 lines
641 B
Desktop File
[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
|