Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Migrate keepalived to svc-map
Browse files Browse the repository at this point in the history
This patch migrates the keepalived element from map-services
to svc-map by adding a svc-map file and adding the -a option to
os-svc-install script calls.

Change-Id: I326808b29b812381837d9e0bd2589edec1052092
  • Loading branch information
Ryan Brady committed Nov 24, 2014
1 parent ea71d4b commit a775080
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ -z "$INTERFACES" ] ; then
exit 1
fi

os-svc-enable -n keepalived
os-svc-enable -an keepalived

if [ -e /var/run/keepalived.pid ] && pgrep -F /var/run/keepalived.pid keepalived &>/dev/null; then
service keepalived reload
Expand Down
3 changes: 3 additions & 0 deletions elements/keepalived/svc-map
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
keepalived:
default: keepalived

0 comments on commit a775080

Please sign in to comment.