Comment 7 for bug 1644530

Yutani (hiroaki-yutani) wrote :

Hi,

As I have pointed above, this problem is NOT solved! Even the newest version of keepalived package (1.3.2) still lacks "PIDFile=" directive.

$ wget http://launchpadlibrarian.net/296728051/keepalived_1.3.2-1_amd64.deb
$ dpkg-deb --extract keepalived_1.3.2-1_amd64.deb keepalived
$ cat keepalived/lib/systemd/system/keepalived.service

[Unit]
Description=Keepalive Daemon (LVS and VRRP)
After=network-online.target
Wants=network-online.target
# Only start if there is a configuration file
ConditionFileNotEmpty=/etc/keepalived/keepalived.conf

[Service]
Type=forking
KillMode=process
# Read configuration variable file if it is present
EnvironmentFile=-/etc/default/keepalived
ExecStart=/usr/sbin/keepalived $DAEMON_ARGS
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target