forked from Lainports/freebsd-ports
PCDM doesn't daemonize/fork, so we need to handle this by using daemon(8). It seems this port has only been used/tested on TrueOS with OpenRC, so it has been broken in FreeBSD ports for the last two years. PR: 227034 Reported by: VulcanRider Approved by: just fix it MFH: 2019Q4 Sponsored by: vBSDcon 2019
11 lines
284 B
Text
11 lines
284 B
Text
--- rc.d/pcdm.orig 2019-11-22 22:45:57 UTC
|
|
+++ rc.d/pcdm
|
|
@@ -51,7 +51,7 @@ pcdm_start()
|
|
echo "Starting PCDM."
|
|
#Start the PCDM login daemon
|
|
if [ ! -e /var/run/nologin ]; then
|
|
- ${command} ${pcdm_flags}
|
|
+ /usr/sbin/daemon -S -T pcdm ${command} ${pcdm_flags}
|
|
fi
|
|
}
|
|
|