[systemd-devel] [PATCH v4] run: introduce timer support option

Lennart Poettering lennart at poettering.net
Wed Dec 3 10:44:56 PST 2014


On Tue, 02.12.14 23:35, WaLyong Cho (walyong.cho at samsung.com) wrote:

> Supported timer options --on-active=, --on-boot=, --on-startup=,
> --on-unit-active=, --on-unit-inactive=, --on-calendar=. Each options
> corresponding with OnActiveSec=, OnBootSec=, OnStartupSec=,
> OnUnitActiveSec=, OnUnitInactiveSec= of timer respectively.

I think a nice way to make both the properties of the service and of
the timer unit configurable would be to introduce --timer-property= in
addition to --property= as parameter. --property= would then always be
applied to the service/scope being created, and --timer-property=
would apply to the timer unit instead. Do we need the tables of the
3rd patch which a simple scheme like that?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list