2022-02-02 08:01:30 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Velociraptor Client Service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=root
|
|
|
|
Group=root
|
|
|
|
UMask=0027
|
2023-01-20 17:50:46 +01:00
|
|
|
MemoryHigh=4G
|
|
|
|
MemoryMax=8G
|
2023-01-19 16:27:12 +01:00
|
|
|
EnvironmentFile=-/etc/sysconfig/velociraptor-client
|
|
|
|
ExecStart=/usr/bin/velociraptor client --config /etc/velociraptor/client.config $VELOCIRAPTOR_CLIENT_OPTS
|
2022-02-02 08:01:30 +01:00
|
|
|
|
|
|
|
PrivateTmp=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
MemoryDenyWriteExecute=true
|
2023-01-19 02:05:43 +01:00
|
|
|
Restart=on-failure
|
2022-02-02 08:01:30 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|