2015-07-15 17:33:47 +00:00
|
|
|
# IBM(c) 2015 Apache 2.0
|
2020-01-31 14:52:52 +00:00
|
|
|
# Lenovo(c) 2020 Apache 2.0
|
2015-07-15 17:33:47 +00:00
|
|
|
[Unit]
|
2020-01-31 14:52:52 +00:00
|
|
|
Description=Confluent hardware manager
|
2015-07-15 17:33:47 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2018-09-07 15:27:43 +00:00
|
|
|
#PIDFile=/var/run/confluent/pid
|
2020-02-06 18:45:46 +00:00
|
|
|
RuntimeDirectory=confluent
|
|
|
|
StateDirectory=confluent
|
|
|
|
CacheDirectory=confluent
|
|
|
|
LogsDirectory=confluent
|
|
|
|
ConfigurationDirectory=confluent
|
2015-07-15 17:33:47 +00:00
|
|
|
ExecStart=/opt/confluent/bin/confluent
|
2015-11-02 19:11:07 +00:00
|
|
|
ExecStop=/opt/confluent/bin/confetty shutdown /
|
2017-08-25 20:41:22 +00:00
|
|
|
Restart=on-failure
|
2020-03-20 18:59:30 +00:00
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SETUID CAP_SETGID CAP_CHOWN CAP_NET_RAW
|
2020-01-31 14:52:52 +00:00
|
|
|
User=confluent
|
|
|
|
Group=confluent
|
|
|
|
DevicePolicy=closed
|
|
|
|
ProtectControlGroups=true
|
|
|
|
ProtectSystem=true
|
2015-07-15 17:33:47 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|