2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-19 08:52:20 +00:00
Files
confluent/confluent_server/systemd/confluent.service
T
Jarrod Johnson 631d7fa680 Relax watchdog timing
Some systems during startup especially may take a hit that crosses the threshold.

Also, some IO hangs in select environments during certain activity can pause a while.

Heartbeat 4 times per interval instead of 2.
2026-11-18 15:33:53 -05:00

28 lines
685 B
Desktop File

# IBM(c) 2015 Apache 2.0
# Lenovo(c) 2020 Apache 2.0
[Unit]
Description=Confluent hardware manager
[Service]
Type=notify
NotifyAccess=main
WatchdogSec=300s
RuntimeDirectory=confluent
CacheDirectory=confluent
LogsDirectory=confluent
ConfigurationDirectory=confluent
ConfigurationDirectoryMode=0700
ExecStart=/opt/confluent/bin/confluent -f
ExecStop=/opt/confluent/bin/confetty shutdown /
Restart=on-failure
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SETUID CAP_SETGID CAP_CHOWN CAP_NET_RAW
User=confluent
Group=confluent
#DevicePolicy=closed # fuse filesystem requires us to interact with /dev/fuse
ProtectControlGroups=true
ProtectSystem=true
[Install]
WantedBy=multi-user.target