3 ms·
You can add units programmatically. Google it!
by paulddraper 4mo ago
You can add units programmatically. Google it!
- paulddraper 4mo agoDownvoting makes no sense. https://www.google.com/search?q=systemd+add+units+programmatically https://www.google.com/search?q=systemd+add+units+programmat... You can do it either via the CLI (systemd-run), or via the D-Bus API (StartTransientUnit).
- paulddraper 4mo agoPS There's even systemd.generator for a hybrid approach. SystemD has no dearth of programmable options.
- sureglymop 4mo agoI didnt downvote and I appreciated your reply. Just to let you know :) I have tried available options including generators.