]> 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>
Mon, 5 Sep 2016 16:05:32 +0000 (17:05 +0100)
commit3943a54036fcce71d57b1bbd2c2759c64c5f1f86
treec46e614a823ffea4106e743fd1c3b7230f21ff27
parentd996e17ab80ce674e3facc04aaa6e918e4d66fbb
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