25 lines
581 B
SYSTEMD
25 lines
581 B
SYSTEMD
|
[Unit]
|
||
|
Description=Velociraptor Kafka-Humio Gateway Service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=velociraptor-kafka
|
||
|
Group=velociraptor-kafka
|
||
|
UMask=0027
|
||
|
User=velociraptor
|
||
|
Group=velociraptor
|
||
|
EnvironmentFile=-/etc/sysconfig/velociraptor-kafka-humio-gateway
|
||
|
ExecStart=/usr/bin/velociraptor-kafka-humio-gateway $KAFKA_HUMIO_GATEWAY_OPTS --config $KAFKA_HUMIO_GATEWAY_CONFIG
|
||
|
|
||
|
PrivateTmp=true
|
||
|
PrivateDevices=true
|
||
|
ProtectHostname=true
|
||
|
ProtectClock=true
|
||
|
ProtectKernelTunables=true
|
||
|
ProtectKernelModules=true
|
||
|
ProtectControlGroups=true
|
||
|
MemoryDenyWriteExecute=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|