Re: [systemd-devel] Dedup timers?

2017-09-26 Thread Peter Hoeg
Hi, I have a number of timers that all look something like the following: The boilerplate for such small things is killing me. Is there a good technique to replace them with something simpler? Maybe transient timers? What will be the drawbacks of transient timers comparing to regular timers?

Re: [systemd-devel] Dedup timers?

2017-09-26 Thread Kai Krakow
Am Mon, 25 Sep 2017 22:45:23 -0700 schrieb Daniel Wang : > I have a number of timers that all look something like the following: > > cat /etc/systemd/system/foo.timer > [Unit] > Description=Run foo every hour > > [Timer] > OnCalendar=hourly > > cat /etc/systemd/system/bar.timer > [Unit] > Descr

Re: [systemd-devel] Dedup timers?

2017-09-26 Thread Auke Kok
On 09/25/2017 10:45 PM, Daniel Wang wrote: > I have a number of timers that all look something like the following: > The boilerplate for such small things is killing me. Is there a good > technique to replace them with something simpler? > Maybe transient timers? What will be the drawbacks of t