[systemd-devel] Timers without matching units?

Lennart Poettering lennart at poettering.net
Wed Oct 22 08:01:32 PDT 2014


On Wed, 22.10.14 14:05, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

> On Wed, Oct 22, 2014 at 02:50:13PM +0400, Ivan Shapovalov wrote:
> > Hi,
> > 
> > The systemd.timer(5) manpage states:
> > 
> > "For each timer file, a matching unit file must exist, describing the unit to
> > activate when the timer elapses."
> > 
> > However, if I need the timer unit just to wake up the machine (e. g. I have a
> > GUI alarm which does everything except configuring the wakealarm), I don't
> > need the timer unit to start something else. Does this sound like a valid
> > reason to make timers' Unit= optional?
> Hi,
> 
> yeah, when timers were implemented, this wasn't possible, but now
> it makes sense and would be useful.

I added this to the TODO list for now.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list