Re: Need help with converting growroot to a systemd service

2014-08-14 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Aug 11, 2014 at 04:42:44PM +0200, Lennart Poettering wrote: > On Mon, 11.08.14 16:25, Juerg Haefliger (jue...@gmail.com) wrote: > > > On Mon, Aug 11, 20 > > > > [Unit] > > > > Description=Grow the root partition > > > > After=systemd-readahead-collect.service systemd-readahead-replay.servi

Re: Need help with converting growroot to a systemd service

2014-08-11 Thread Lennart Poettering
On Mon, 11.08.14 16:25, Juerg Haefliger (jue...@gmail.com) wrote: > On Mon, Aug 11, 20 > > > [Unit] > > > Description=Grow the root partition > > > After=systemd-readahead-collect.service systemd-readahead-replay.service > > > Before=systemd-fsck@.service sysroot.mount > > > > This will not work.

Re: Need help with converting growroot to a systemd service

2014-08-11 Thread Juerg Haefliger
On Mon, Aug 11, 20 > > [Unit] > > Description=Grow the root partition > > After=systemd-readahead-collect.service systemd-readahead-replay.service > > Before=systemd-fsck@.service sysroot.mount > > This will not work. "systemd-fsck@.service" is is not a unit name (but > just a template for unit nam

Re: Need help with converting growroot to a systemd service

2014-08-11 Thread Juerg Haefliger
On Mon, Aug 11, 2014 at 3:40 PM, Richard W.M. Jones wrote: > > On Mon, Aug 11, 2014 at 03:24:59PM +0200, Lennart Poettering wrote: > > On Mon, 11.08.14 12:59, Juerg Haefliger (jue...@gmail.com) wrote: > > > > > All, > > > > > > I want to convert the growroot functionality to a proper systemd servi

Re: Need help with converting growroot to a systemd service

2014-08-11 Thread Richard W.M. Jones
On Mon, Aug 11, 2014 at 03:24:59PM +0200, Lennart Poettering wrote: > On Mon, 11.08.14 12:59, Juerg Haefliger (jue...@gmail.com) wrote: > > > All, > > > > I want to convert the growroot functionality to a proper systemd service > > Not sure what "growroot" is... Lennart, the one I'm familiar wi

Re: Need help with converting growroot to a systemd service

2014-08-11 Thread Lennart Poettering
On Mon, 11.08.14 12:59, Juerg Haefliger (jue...@gmail.com) wrote: > All, > > I want to convert the growroot functionality to a proper systemd service Not sure what "growroot" is... > but I'm struggling. I (think I) want it to run and finish before the > filesystems are checked and before /sysro