Re: [OE-core] [PATCH v2] logrotate: Add systemd support

2017-04-05 Thread Romain Perier
I have just realized, systemd service and timer is already present and supported on upstream (like cron, in examples/). At least in 3.11.0 and master. I will propose an update of this recipe to 3.11.0 (the last release) and then add support for systemd. Regards, Romain Le 05/04/2017 à 11:41,

Re: [OE-core] [PATCH v2] logrotate: Add systemd support

2017-04-05 Thread Romain Perier
Add yocto and Alexander to Cc: (sorry) Romain Le 05/04/2017 à 11:30, Romain Perier a écrit : > Hello, > > > Le 05/04/2017 à 10:25, Alexander Kanavin a écrit : >> On 04/05/2017 10:58 AM, Romain Perier wrote: >>> ping >>> >> Is this available in newer upstream versions of logrotate? Should you >>

Re: [OE-core] [PATCH v2] logrotate: Add systemd support

2017-04-05 Thread Romain Perier
Hello, Le 05/04/2017 à 10:25, Alexander Kanavin a écrit : > On 04/05/2017 10:58 AM, Romain Perier wrote: >> ping >> > > Is this available in newer upstream versions of logrotate? Should you > send it there first? > > Alex > No, not yet. Mhhh, we have variables specific to the recipe in the

Re: [OE-core] [PATCH v2] logrotate: Add systemd support

2017-04-05 Thread Alexander Kanavin
On 04/05/2017 10:58 AM, Romain Perier wrote: ping Is this available in newer upstream versions of logrotate? Should you send it there first? Alex -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org

Re: [OE-core] [PATCH v2] logrotate: Add systemd support

2017-04-05 Thread Romain Perier
ping Le 24/03/2017 à 09:46, Romain Perier a écrit : > Currently, this recipe only supports daily scheduling via a cron job. > This commit adds support for systemd, including systemd service and > systemd timer. When the corresponding distro feature is enabled the > systemd variant will be used.

[OE-core] [PATCH v2] logrotate: Add systemd support

2017-03-24 Thread Romain Perier
Currently, this recipe only supports daily scheduling via a cron job. This commit adds support for systemd, including systemd service and systemd timer. When the corresponding distro feature is enabled the systemd variant will be used. The timer granularity and its accuracy are also configurable.