Would be good if keepalived could have systemd USE flag and service file. Below it's systemd service file which I use in my private production repository. [Unit] Description=LVS and VRRP High Availability Monitor After=syslog.target network-online.target [Service] Type=forking PIDFile=/var/run/keepalived.pid KillMode=process EnvironmentFile=-/etc/conf.d/keepalived ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c77e25783da444692e66820b72472c21bbeab32 commit 2c77e25783da444692e66820b72472c21bbeab32 Author: Tomas Mozes <tmozes@sygic.com> AuthorDate: 2018-09-21 12:11:19 +0000 Commit: Ultrabug <ultrabug@gentoo.org> CommitDate: 2018-09-28 07:55:39 +0000 sys-cluster/keepalived: bump to 2.0.7 Closes: https://bugs.gentoo.org/664268 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Package-Manager: Portage-2.3.49, Repoman-2.3.10 Closes: https://github.com/gentoo/gentoo/pull/9934 sys-cluster/keepalived/Manifest | 1 + sys-cluster/keepalived/files/keepalived.confd-r1 | 3 + sys-cluster/keepalived/files/keepalived.init-r1 | 21 +++++++ sys-cluster/keepalived/files/keepalived.service | 13 ++++ .../keepalived/files/keepalived.service.conf | 2 + sys-cluster/keepalived/keepalived-2.0.7.ebuild | 72 ++++++++++++++++++++++ 6 files changed, 112 insertions(+)