Accepting request 1060003 from home:dirkmueller:Factory

- add memory limit to systemd unit

OBS-URL: https://build.opensuse.org/request/show/1060003
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=34
This commit is contained in:
Jeff Mahoney 2023-01-20 16:50:46 +00:00 committed by Git OBS Bridge
parent 16d33dd7bf
commit b16a5f1b3e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 20 16:37:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add memory limit to systemd unit
--------------------------------------------------------------------- ---------------------------------------------------------------------
Thu Jan 19 15:17:22 UTC 2023 - Jeff Mahoney <jeffm@suse.com> Thu Jan 19 15:17:22 UTC 2023 - Jeff Mahoney <jeffm@suse.com>

View File

@ -6,6 +6,8 @@ Type=simple
User=root User=root
Group=root Group=root
UMask=0027 UMask=0027
MemoryHigh=4G
MemoryMax=8G
EnvironmentFile=-/etc/sysconfig/velociraptor-client EnvironmentFile=-/etc/sysconfig/velociraptor-client
ExecStart=/usr/bin/velociraptor client --config /etc/velociraptor/client.config $VELOCIRAPTOR_CLIENT_OPTS ExecStart=/usr/bin/velociraptor client --config /etc/velociraptor/client.config $VELOCIRAPTOR_CLIENT_OPTS