[systemd-devel] Query on systemctl daemon-reload
Nageswararao Nandigam
2nageshnandigam at gmail.com
Tue Oct 22 22:38:44 UTC 2024
Hi,
I have a use case where I use systemd api to enforce resource limits for
systemd service. I create drop-files/unit files under service.d/ directory
in the customer vm and run the systemctl daemon-reload cmd to apply new
settings to my service at run time but it's affecting all services which
are in the machine. This global command which runs in our service makes the
changes for other services without consent of the owner/user/other services
and also creates problems due to changes in other services. So I'm looking
for a way to run and apply the settings only for my service. I didn't find
a similar cmd to run for a specific service but found a dbus call to
systemd to execute this for a specific service. Are there any issues if we
use a direct debus call for this? any reasons why it's not exposed as a
systemd/systemctl cmd?
Thanks,
Nag.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20241022/756ba0aa/attachment.htm>
More information about the systemd-devel
mailing list