go-systemd icon indicating copy to clipboard operation
go-systemd copied to clipboard

Add support for transient timers

Open onitake opened this issue 5 years ago • 0 comments

systemd-run supports creating units that run on a schedule instead of immediately. This is implemented by creating a timer unit alongside the service that executes the command.

While creating persistent timers and services is certainly an option, they create manual cleanup overhead. It would be very useful to support such a feature in go-systemd, similar to systemd-run's --timer-property= option.

Similarly, systemd-run also supports creating transient socket and path units that launch the command service when triggered. These would also be useful.

onitake avatar Jul 02 '20 16:07 onitake