TT#36043 Remove monit.service dependency information from service files

We do not require monit in any way now. Listing it as a dependency and
declaring an After ordering means that on reboot, heartbeat is always
shut down first, it will then try to shut down all NGCP services, and
meanwhile monit will notice and try to restart them, making heartbeat
not be able to shut down cleanly.

Change-Id: I454c7714159b92c9237f2530ba8ba82316481478
changes/31/20731/2
Guillem Jover 8 years ago
parent 0865a6b85f
commit d2a4e64696

@ -3,7 +3,6 @@ Description=Heartbeat Watchdog for High-Availability Linux
Documentation=man:heartbeat(8)
After=network-online.target
After=heartbeat.service
After=monit.service
Requires=heartbeat.service
Wants=network-online.target

@ -1,12 +1,10 @@
[Unit]
Description=Heartbeat subsystem for High-Availability Linux
Documentation=man:heartbeat(8)
After=monit.service
After=network-online.target
After=time-sync.target
After=openhpid.service
Wants=network-online.target
Wants=monit.service
[Service]
Type=forking

Loading…
Cancel
Save