mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 02:52:07 +00:00
Add simple systemd service file for confluent server.
The sysvinit scripts were not returning the same informational messages when run under systemctl as they were when run under service.
This commit is contained in:
parent
859aad793d
commit
4d1d016325
@ -1 +1,2 @@
|
||||
include sysvinit/*
|
||||
include systemd/*
|
||||
|
@ -15,6 +15,7 @@ setup(
|
||||
'pyghmi>=0.6.5'],
|
||||
scripts=['bin/confluent'],
|
||||
data_files=[('/etc/init.d', ['sysvinit/confluent']),
|
||||
('/usr/lib/systemd/system', ['systemd/confluent.service']),
|
||||
('/opt/confluent/lib/python/confluent/plugins/console/', [])],
|
||||
|
||||
)
|
||||
|
12
confluent_server/systemd/confluent.service
Normal file
12
confluent_server/systemd/confluent.service
Normal file
@ -0,0 +1,12 @@
|
||||
# IBM(c) 2015 Apache 2.0
|
||||
[Unit]
|
||||
Description=Confluent hardware manager
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/confluent/pid
|
||||
ExecStart=/opt/confluent/bin/confluent
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user