[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Install script supporting sysV init?
From: |
Jan |
Subject: |
Re: Install script supporting sysV init? |
Date: |
Tue, 28 Jan 2020 23:54:07 +0100 |
On Tue, 28 Jan 2020 15:52:34 +0100
Danny Milosavljevic <address@hidden> wrote:
> Hi Jan,
>
> cool!
>
> Could you try what happens in the corner cases:
>
> (1) Try to start it twice. The second start attempt should fail and
> $? should reflect that
First and second start works the same.
> (2) Try to stop it twice. I'm pretty sure
> that should work (do nothing) the second time. What does sysv say
> should happen? Should it error?
The first stop takes way too long and throws an error:
/etc/init.d/guix-daemon: line 47: kill: (9107) - Process not found
>(3) Does status work?
It throws:
guix-daemon has a stale pid file
> (4) Put a
> nonsensical (non-existent) pid into the pid file and try to stop it.
> Or start it. What does sysv say should happen? Should it clean up?
> If the pid of the wrong process is in the pid file and one tries to
> stop it or start it, what does sysv say should happen? Should one
> check the args whether it's the correct program?
Like what for example? I don't want to kill something important.
> If these things are handled correctly, we can add it to guix master.
>
> BR,
> Danny
Jan Wielkiewicz
- Install script supporting sysV init?, Jan, 2020/01/26
- Re: Install script supporting sysV init?, Danny Milosavljevic, 2020/01/26
- Re: Install script supporting sysV init?, Jan, 2020/01/27
- Re: Install script supporting sysV init?, Julien Lepiller, 2020/01/27
- Re: Install script supporting sysV init?, Jan, 2020/01/28
- Re: Install script supporting sysV init?, Danny Milosavljevic, 2020/01/28
- Re: Install script supporting sysV init?, Danny Milosavljevic, 2020/01/28
- Re: Install script supporting sysV init?,
Jan <=
- Re: Install script supporting sysV init?, Danny Milosavljevic, 2020/01/28
- Re: Install script supporting sysV init?, Jan, 2020/01/28
- Re: Install script supporting sysV init?, Danny Milosavljevic, 2020/01/28
- Re: Install script supporting sysV init?, Jan, 2020/01/30
Re: Install script supporting sysV init?, Ludovic Courtès, 2020/01/28