Alignak-monitoring / alignak-packaging

Packaging files for alignak applications
0 stars 0 forks source link

systemd unit alignak.service #16

Open Dan33l opened 7 years ago

Dan33l commented 7 years ago

I installed the deb package alignak-all_0.2-1.1481116675.68a2e14_all.deb.

This one provides the followind systemd units alignak-arbiter.service alignak-broker.service alignak-poller.service alignak-reactionner.service alignak-receiver.service alignak-scheduler.service.

But it does not provides unit alignak.service

Seb-Solon commented 7 years ago

I can't provide such a unit. alignak unit has no meaning because it does not run any daemon. I tried to make an alignak unit to start / stop other unit and make status in a consistent state but didn't manage to. The previous behavior of init scripts can't be reproduced without hacking stuff, which is, in my opinion not a good idea.

If you want to run all deamon, wildcard command may work. systemctl start alignak-*

hvad commented 7 years ago

Hi,

For me "systemctl start alignak-*" don't work and i use this :

for i in arbiter poller reactionner scheduler broker; do systemctl enable alignak-$i.service ; done

Best regard

2016-12-14 19:18 GMT+01:00 Sébastien Coavoux notifications@github.com:

I can't provide such a unit. alignak unit has no meaning because it does not run any daemon. I tried to make an alignak unit to start / stop other unit and make status in a consistent state but didn't manage to. The previous behavior of init scripts can't be reproduced without hacking stuff, which is, in my opinion not a good idea.

If you want to run all deamon, wildcard command may work. systemctl start alignak-*

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Alignak-monitoring/alignak-packaging/issues/16#issuecomment-267111678, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwrYKKzdvprgQ3LF4cB2hOojxxnJLFgks5rIDMRgaJpZM4LNKUJ .

-- David Hannequin