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:
parent
ea71d4b879
commit
a7750800f2
@ -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
|
||||
|
3
elements/keepalived/svc-map
Normal file
3
elements/keepalived/svc-map
Normal file
@ -0,0 +1,3 @@
|
||||
keepalived:
|
||||
default: keepalived
|
||||
|
Loading…
Reference in New Issue
Block a user