孙冰 writes:
> I use this:
>
> [Unit]
> Description=Wicd sleep hook
> Before=sleep.target
> StopWhenUnneeded=yes
>
> [Service]
> Type=oneshot
> RemainAfterExit=yes
> ExecStart=-/usr/share/wicd/daemon/suspend.py
> ExecStop=-/usr/share/wicd/daemon/autoconnect.
I use this:
[Unit]
Description=Wicd sleep hook
Before=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/share/wicd/daemon/suspend.py
ExecStop=-/usr/share/wicd/daemon/autoconnect.py
[Install]
WantedBy=sleep.target
Hi Tony,
best to my experiences, I doubt that suppressing the loading of device units
will speed up systemd that much. There are other major parts that far more
significantly delay the startup (cgroups in some cases, loading the unit set at
startup, executing the generators, and finally loading
Hi, all
I have a question after looking fstab-generator.c. I hope someone can
help me.
In add_mount(), if nofail=true, "Before=$post" won't be added to
xxx.mount:
[..]
if (post && !noauto && !nofail && !automount)
fprintf(f,
"Before=%s\n",
post);
why doin
On Thu, Jul 25, 2013 at 05:36:01PM +0200, Ronny Chevalier wrote:
> ---
> src/core/dbus-execute.c | 3 +--
> src/core/dbus-job.c | 11 ++-
> src/core/dbus-manager.c | 14 +++---
> src/core/unit.c | 48 ++--
> 4 files changed,
I understand what you mean, but I think that I will cut the time for
loading device unit if I keep those from appearing on my plot.
I want to do a try to temporarily disappear some kinds of device units and
then I'm supposed to measure boot speed depending a board of
mine.(Actually, I believe th
Thank you for your friendly answer.
After I recevied your mail, I have aimed to complete to make server-client
model.
In my view, I didn't still know how to use a service option in service
configuration file.
The seceario I want to make is like this:
*A..service is a server program and i
On Wed, Aug 7, 2013 at 12:52 AM, Maarten Lankhorst
wrote:
> Op 07-08-13 02:26, Andy Lutomirski schreef:
>> On Tue, Aug 6, 2013 at 5:24 PM, Tom Gundersen wrote:
>>> On 6 Aug 2013 18:32, "Bryan Kadzban" wrote:
On Tue, Aug 06, 2013 at 11:17:17AM +0200, Tom Gundersen wrote:
> On Tue, Aug 6,
On Wed, Aug 7, 2013 at 8:03 PM, Tony Seo wrote:
>
> Hello.
>
> Now, I have studied systemd for optimizing systemd on my board.
>
> After edited several units, I would like to delete some device configuration
> units existing on my picture from systemd-analyze(best-dream-boy.blogspot)
>
> I read t
Hello.
Now, I have studied systemd for optimizing systemd on my board.
After edited several units, I would like to delete some device
configuration units existing on my picture from
systemd-analyze(best-dream-boy.blogspot)
I read the manual pages about systemd.device, I tried to delete device
u
It was <2013-07-15 pon 15:22>, when Maciej Wereski wrote:
> diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
> index 519f9bc..92157b5 100644
> --- a/man/tmpfiles.d.xml
> +++ b/man/tmpfiles.d.xml
> @@ -229,6 +229,21 @@ L/tmp/foobar ----
> /dev/null
>
On Wed, Aug 7, 2013 at 1:24 PM, Hoyer, Marko (ADITG/SW2)
wrote:
> 2. What impact do I have to expect in case the kernel does not provide
> ipv6 functionality?
I think the main problem is in case you were to somehow insmod the
ipv6 module after boot, in which case it probably won't be set up
Indeed, that sounds like a solution.
It's a bit of a philosophical thing though, remainafterexit+oneshot
works nicely for things that represent a certain state (powersaving
on) which can be inspected and turned off.
oneshot "scripts" don't feel natural to me somehow without such a
state (which Re
Hello systemd developers,
I found that systemd automatically tries to load ipv6 and autofs kernel
modules, when they are not compiled in.
Could you give me a hint what is not working, when they are neither provided as
kernel modules nor compiled in?
In case of autofs I found that automount unit
On Wed, Aug 7, 2013 at 10:12 AM, Mathijs Kwik wrote:
> I have a few things that need to get run after waking up my laptop
> (things like hdparm to set device power options/spindown time).
> I created oneshot, remainafterexit services for those and made them
> wanted by multi-user.target.This works
Hi all,
I have a few things that need to get run after waking up my laptop
(things like hdparm to set device power options/spindown time).
I created oneshot, remainafterexit services for those and made them
wanted by multi-user.target.This works fine for the first boot.
As I consider these servic
Op 07-08-13 02:26, Andy Lutomirski schreef:
> On Tue, Aug 6, 2013 at 5:24 PM, Tom Gundersen wrote:
>> On 6 Aug 2013 18:32, "Bryan Kadzban" wrote:
>>> On Tue, Aug 06, 2013 at 11:17:17AM +0200, Tom Gundersen wrote:
On Tue, Aug 6, 2013 at 11:11 AM, Tom Gundersen wrote:
> On Tue, Aug 6, 201
17 matches
Mail list logo