diff options
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc')
-rw-r--r-- | core/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc b/core/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc new file mode 100644 index 00000000..8286bbaa --- /dev/null +++ b/core/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc @@ -0,0 +1,11 @@ +############################################ +# Include: Checking whether lpd is running # +############################################ + +# Check if tcpsvd is running. Do this down here so we do not check +# immediately after trying to spawn it, as this could result in +# success even if it's not really working. + +if ! kill -0 "$PID_LPD"; then + slxlog "virt-lpd" "Could not start tcpsvd/lpd for virtual machine session" +fi |