[systemd-devel] Adding a service file to run with system-update.target

2012-06-01 Thread Richard Hughes
I've been playing with the offline updates thing a bit. Is this the kind of service file that PackageKit should install into /usr/lib/systemd/system/ ? [Unit] Description=Updates the operating system whilst offline DefaultDependencies=no After=system-update.target [Service] Type=oneshot

Re: [systemd-devel] Adding a service file to run with system-update.target

2012-06-01 Thread Mathieu Bridon
On Fri, 2012-06-01 at 23:42 +0100, Richard Hughes wrote: I've been playing with the offline updates thing a bit. Is this the kind of service file that PackageKit should install into /usr/lib/systemd/system/ ? [Unit] Description=Updates the operating system whilst offline

Re: [systemd-devel] Adding a service file to run with system-update.target

2012-06-01 Thread Lennart Poettering
Heya, Please make this a normal unit file, I.e. drop the DefaultDependencies, and drop the After=system-update.target. But do add WantedBy=system-update.target in the Install section. Or, alternatively, symlink this into /usr/lib/systemd/system/system-update.target.wants/ in the package so