Migrate keepalived to svc-map

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
This commit is contained in:
Ryan Brady 2014-11-20 11:10:28 -05:00
parent ea71d4b879
commit a7750800f2
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
keepalived:
default: keepalived