Re: [systemd-devel] Power aware units

2013-11-05 Thread Bastien Nocera
On Mon, 2013-11-04 at 16:52 +0100, Lennart Poettering wrote: > On Mon, 04.11.13 16:10, Bastien Nocera (had...@hadess.net) wrote: > > > > And I figure other ones to add here are: > > > > > > - mandb cache cleanups > > > - rotation of legacy log files > > > > > > (are there more usecases you can c

Re: [systemd-devel] Power aware units

2013-11-04 Thread Jan Engelhardt
On Monday 2013-11-04 16:52, Lennart Poettering wrote: >> >> Those _were_ all cron jobs. I don't think that any of those should be >> cron jobs, especially the 4 AM update-db or man-db runs. Anacron is just >> patching over the fact that most machines aren't running at that time of >> day. > >Well

Re: [systemd-devel] Power aware units

2013-11-04 Thread Lennart Poettering
On Mon, 04.11.13 16:10, Bastien Nocera (had...@hadess.net) wrote: > > And I figure other ones to add here are: > > > > - mandb cache cleanups > > - rotation of legacy log files > > > > (are there more usecases you can come up with?) > > > > All these are exclusively cronjobs, i.e. services trig

Re: [systemd-devel] Power aware units

2013-11-04 Thread Bastien Nocera
On Mon, 2013-11-04 at 15:27 +0100, Lennart Poettering wrote: > On Sun, 03.11.13 15:36, Bastien Nocera (had...@hadess.net) wrote: > > > Heya, > > > > systemd already allows launching specific tasks based on a timer, and > > intervals, and I was wondering whether power awareness was something > > p

Re: [systemd-devel] Power aware units

2013-11-04 Thread Lennart Poettering
On Sun, 03.11.13 15:36, Bastien Nocera (had...@hadess.net) wrote: > Heya, > > systemd already allows launching specific tasks based on a timer, and > intervals, and I was wondering whether power awareness was something > planned for launching and stopping units. > > MacOS X 10.9 has some additio

Re: [systemd-devel] Power aware units

2013-11-04 Thread Jóhann B. Guðmundsson
On 11/03/2013 02:36 PM, Bastien Nocera wrote: In addition to that, would it make sense for distributions to start porting their cron jobs to use systemd? in Fedora we already have started that migration process for relevant units ( not all packages that contain ron jobs should be/will be mig

Re: [systemd-devel] Power aware units

2013-11-03 Thread Bastien Nocera
On Sun, 2013-11-03 at 17:07 +0100, Bastien Nocera wrote: > > Systemd should not get any direct or indirect dependency on upower for > > primary service management tasks. It just doesn't sound right to do > > dependencies in this direction. > > That doesn't strike me as as crazy as it may seem. sy

Re: [systemd-devel] Power aware units

2013-11-03 Thread Bastien Nocera
On Sun, 2013-11-03 at 16:06 +0100, Kay Sievers wrote: > On Sun, Nov 3, 2013 at 3:36 PM, Bastien Nocera wrote: > > systemd already allows launching specific tasks based on a timer, and > > intervals, and I was wondering whether power awareness was something > > planned for launching and stopping un

Re: [systemd-devel] Power aware units

2013-11-03 Thread Kay Sievers
On Sun, Nov 3, 2013 at 3:36 PM, Bastien Nocera wrote: > systemd already allows launching specific tasks based on a timer, and > intervals, and I was wondering whether power awareness was something > planned for launching and stopping units. > > MacOS X 10.9 has some additional metadata for units t

[systemd-devel] Power aware units

2013-11-03 Thread Bastien Nocera
Heya, systemd already allows launching specific tasks based on a timer, and intervals, and I was wondering whether power awareness was something planned for launching and stopping units. MacOS X 10.9 has some additional metadata for units that allows launchd to stop and start particular tasks bas