[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: |
Thu, 30 Jan 2020 15:11:58 +0100 |
I made some more tests and it turns out the start procedure doesn't
work when ran manually - only the first time, the system boots,
guix-daemon is started, but if stopped, then you can't turn it on again
in the session.
Also why in the stop procedure, we kill the process two times?
kill "${pid}"
sleep 10
kill -9 "${pid}" || true
In my opinion after waiting for 10 seconds, there should be a
conditional checking if the process still exists, to prevent throwing
error.
And one of the procedures restart or force-reload caused error, because
it was empty, so I copied contents of one of these into another like
this:
restart)
"$0" stop
"$0" start
;;
force-reload)
"$0" stop
"$0" start
;;
Jan Wielkiewicz
- Re: Install script supporting sysV init?, (continued)
- 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, 2020/01/28
- 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 <=
Re: Install script supporting sysV init?, Ludovic Courtès, 2020/01/28