[systemd-devel] how to conditional reload service

Vasiliy Tolstov v.tolstov at selfip.ru
Sun Jun 22 11:05:50 PDT 2014


Hi. I have a problem - bird service.
[Unit]
Description=BIRD routing daemon ipv6 version
After=network.target

[Service]
ExecStart=/usr/bin/bird6 -f -u bird -g bird
ExecReload=/usr/bin/birdc6 configure
ExecStop=/usr/bin/birdc6 down

[Install]
WantedBy=multi-user.target

In this case reload only works when service is runing. But if i need
that reload acts as restart if service not running?

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru


More information about the systemd-devel mailing list