[Unit]
Description=Manages Virtual IP for Patroni
Documentation=https://github.com/cybertec-postgresql/vip-manager
After=network-online.target
Before=patroni.service

[Service]
Type=simple
ExecStart=/usr/bin/vip-manager --config=/etc/default/vip-manager.yml
Restart=on-failure
RestartSec=5s
CPUQuota=10%

[Install]
WantedBy=multi-user.target