]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
Libvirt: Fix update.sh script
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Fri, 2 Sep 2016 18:35:23 +0000 (20:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Sep 2016 11:28:49 +0000 (12:28 +0100)
commitad7e47072b4993d96749f4e8f0f106b409ed77ca
treec909a9932cb4717d0f4516b3b51f7acc689efb6a
parent59d8f64e50bdcc339b95f306e4cebf85c36a3a4e
Libvirt: Fix update.sh script

The virtlogd could only be restarted when the daemons run. The update.sh
script tried to restart the daemon no matter if the daemons run or not.
This behaviour produce problems.

An If statement now checks if the daemon runs or not and execute the
command that is suitable for the situation.

Fixes: #11172
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/libvirt
src/paks/libvirt/update.sh