The following patch is still a work in progress (I have to look into the
creation of the /var/run directory and the possible bug I mentioned in the
previous message). However, I'd like to give everyone the chance to take a
look over this and comment now.
cheers,
Zane.
---
Zane Bitter (1):
Core: Start daemons through systemd if possible
CMakeLists.txt | 15 ++++++
matahari-broker.init.in | 22 +++++----
matahari-broker.service | 20 ++++++++
matahari-brokerd.in | 8 +++
matahari.init.in | 41 +++++++----------
matahari.service.in | 9 ++--
matahari.spec.in | 9 +++-
src/CMakeLists.txt | 2 +
src/cmake/modules/MatahariMacros.cmake | 2 -
src/lib/mh_agent.cpp | 76 +++++++++++++++++++++++---------
src/sysconfig/CMakeLists.txt | 10 ++--
11 files changed, 143 insertions(+), 71 deletions(-)
create mode 100644 matahari-broker.service
create mode 100644 matahari-brokerd.in