2
0
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:
Victor Hu 2015-07-15 13:33:47 -04:00
parent 859aad793d
commit 4d1d016325
3 changed files with 14 additions and 0 deletions

View File

@ -1 +1,2 @@
include sysvinit/*
include systemd/*

View File

@ -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/', [])],
)

View 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