summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/scripts/includes/check_lpd.inc
blob: 8286bbaae719cd41c30942dca405e6df6d2ebf90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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