Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664268 - sys-cluster/keepalived: please add systemd support
Summary: sys-cluster/keepalived: please add systemd support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-22 15:31 UTC by grzybowskik
Modified: 2018-09-28 07:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grzybowskik 2018-08-22 15:31:01 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2018-09-28 07:55:52 UTC
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(+)