Re: Failing to run as a daemon in FreeBSD
By: Matthew to All on Thu Feb 11 2021 03:14 pm
Hello, I have successfully been able to install Synchronet using the guide on the wiki. I am now trying to be able to run the service as a daemon.
I placed the service script in the /usr/local/etc/rc.d directory.
I copy pasted the sbbs settings in /etc/rc.conf to be honest I dont know what I need to configure in there. This may be part of my problem.
When I do: /usr/local/etc/rc.d/sbbs start I get an error that sbbs is not found in that directory. But its clearly there.
Is it set as executable?
I notice in those settings there is suppossed to be a PID file in /var/run/sbbs.pid How do I create this file?
pid files are created automatically by the executed program. You can control the location of the pid file with the [Unix] PidFile key in your ctrl/sbbs.ini file, but the default value is /var/run/sbbs.pid and will be created or updated when you run the 'sbbs' program.
--
digital man
This Is Spinal Tap quote #19:
Oh then, maybe it's not green. Anyway this is what I sleep in sometimes.
Norco, CA WX: 53.3øF, 88.0% humidity, 2 mph ESE wind, 0.00 inches rain/24hrs ---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net