From 14a5698132872e9ba5a5c8dd26882b74521b4d38 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 4 May 2016 21:11:37 +0100 Subject: [PATCH] Added readme file for Daemon --- README.daemon | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.daemon diff --git a/README.daemon b/README.daemon new file mode 100644 index 0000000..794c4dc --- /dev/null +++ b/README.daemon @@ -0,0 +1,21 @@ +On Linux, to run MMDVMHost as a daemon, set "Daemon=1" in the ini file. + +When this is set, MMDVMHost will attempt to drop privileges to user "mmdvm" and +group "mmdvm". If this user and group on your system, an error will occur and +MMDVMHost will not start. + +To add these users, please do the following from the Linux command line: + +groupadd mmdvm +useradd mmdvm -g mmdvm -s /sbin/nologin +usermod mmdvm -G dialout + +Note, without the last line, MMDVMHost will not be able to open the modem. + +Also note, when running as a daemon, STDIN, STDOUT and STDERR are closed, so you +must use a logfile to capture logging +and the logfile entry in the ini file must be given a full path as MMDVMHost +calls "cd /" when daemonising. + + +Simon - G7RZU \ No newline at end of file