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
|
2023-12-21 01:29:28 +01:00
|
|
|
EnvironmentFile=-/etc/default/velociraptor-client
|
2023-05-09 02:49:51 +02:00
|
|
|
Environment=TMPDIR=/var/lib/velociraptor-client/tmp
|
|
|
|
ExecStart=/usr/bin/velociraptor-client client --config /etc/velociraptor/client.config $VELOCIRAPTOR_CLIENT_OPTS
|
2022-02-02 08:01:30 +01:00
|
|
|
|
|
|
|
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
|