[systemd-devel] Starting different services from same process
Paassen, Hiram van
Hiram.van.Paassen at mastervolt.com
Fri Oct 17 00:03:54 PDT 2014
Hi,
We use systemd to manage some python processes in an embedded
environment (imx28 cpu). This works fantastic except for a fairly long
startup sequence due to python being slow during the initialization of
its standard libraries.
We found a possible solution inspired by
http://draketo.de/light/english/politics-and-free-software/reducing-python-startup-time
which basically means taking the startup overhead only once instead of x
times by starting a minimal python process which forks itself into
different programs.
However, I fail to see how this would play nice with systemd and its use
of cgroups.
We currently use type=dbus services so I expect that starting is not
really the problem but it would be annoying if systemd cannot stop one
service without killing them all since they are in the same cgroup
Is it possible to start multiple different services from one process?
With kind regards,
Hiram van Paassen
________________________________
Power Products, LLC Email Notice
This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.
Thank you.
More information about the systemd-devel
mailing list