[systemd-devel] Timers without matching units?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Oct 22 05:05:40 PDT 2014


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.

Zbyszek


More information about the systemd-devel mailing list