logoalt Hacker News

paulddrapertoday at 12:45 AM1 replyview on HN

You can add units programmatically. Google it!


Replies

paulddrapertoday at 4:10 PM

Downvoting makes no sense.

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).

show 2 replies