[systemd-devel] how to properly control the daemons or run advanced cmds
"Jóhann B. Guðmundsson"
johannbg at gmail.com
Tue Dec 2 04:37:09 PST 2014
On 11/25/2014 02:09 AM, Flavio Leitner wrote:
> The Open vSwitch is comprised by two daemons. One is a database and
> another is the switch itself.
> Currently we have the openvswitch.service which start/stop/reload the
> service (both daemons) just fine.
> However, we need to support hot-upgrade which means to stop the
> vswitch daemon first, run a few special commands, reload the db
> daemon and only then start the vswitch daemon.
> I know about creating shell helpers for non-standard commands, but
> since that needs to mess up with the daemons in a particular order,
> I think systemd won't like the above external actions at all.
> Any suggestion on how to handle this with systemd properly?
Post an link to the pasted initscripts currently being used.
More information about the systemd-devel