2024-05-04 01:44:14 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Velociraptor Client Service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=root
|
|
|
|
Group=root
|
|
|
|
UMask=0027
|
|
|
|
MemoryHigh=4G
|
|
|
|
MemoryMax=8G
|
|
|
|
EnvironmentFile=-/etc/sysconfig/velociraptor-client
|
2024-06-08 17:40:57 +02:00
|
|
|
EnvironmentFile=-/etc/default/velociraptor-client
|
2024-05-04 01:44:14 +02:00
|
|
|
Environment=TMPDIR=/var/lib/velociraptor-client/tmp
|
|
|
|
ExecStart=/usr/bin/velociraptor-client client --config /etc/velociraptor/client.config $VELOCIRAPTOR_CLIENT_OPTS
|
|
|
|
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
MemoryDenyWriteExecute=true
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|