Skip to content

Commit

Permalink
Enable autorestart on svc-monitor exit
Browse files Browse the repository at this point in the history
Upon zookeeper restart we stop the backup services(schema/svc-monitor/device-manager etal)
and depend on supervisord to restart the services.
However contrail-svc-monitor ini template file didnt have autorestart=true set hence
the service was not restarted.

Change-Id: I7984e8e826b134740de02d3803a24dba4c7c3c89
Closes-Bug:#1630495
  • Loading branch information
Senthilnathan Murugappan committed Jan 19, 2017
1 parent 61792c1 commit fe145e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/svc-monitor/contrail-svc-monitor.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
command=/usr/bin/contrail-svc-monitor --conf_file /etc/contrail/contrail-svc-monitor.conf --conf_file /etc/contrail/contrail-keystone-auth.conf
priority=460
autostart=true
autorestart=true
killasgroup=true
stopsignal=TERM
redirect_stderr=true
Expand Down

0 comments on commit fe145e4

Please sign in to comment.