2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-03-28 21:23:28 +00:00
Files
confluent/confluent_server/systemd/confluent.service
Jarrod Johnson 53c2ace620 Go all in on systemd startup
Become a notify type service.  Reserve the ability to be normal should it come up, but with
the complications around fork, easiest
to punt on daemonize for now.
2026-03-20 10:12:45 -04:00

27 lines
652 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=30s
RuntimeDirectory=confluent
CacheDirectory=confluent
LogsDirectory=confluent
ConfigurationDirectory=confluent
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