logoalt Hacker News

paulddraperyesterday at 4:10 PM2 repliesview on HN

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


Replies

sureglymopyesterday at 9:48 PM

I didnt downvote and I appreciated your reply. Just to let you know :)

I have tried available options including generators.

paulddraperyesterday at 6:35 PM

PS There's even systemd.generator for a hybrid approach.

SystemD has no dearth of programmable options.