From bbf82121d1cb5cc535a64e30aae71d8dd9d1cd14 Mon Sep 17 00:00:00 2001 From: AndyTaylorTweet Date: Mon, 15 Aug 2016 09:37:30 +0100 Subject: [PATCH] Update README.md --- linux/systemd/README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/linux/systemd/README.md b/linux/systemd/README.md index 8edcbde..83de243 100644 --- a/linux/systemd/README.md +++ b/linux/systemd/README.md @@ -1,10 +1,18 @@ +MMDVMHost Systemd setup +======================= +Install Instructions +-------------------- + 1. Copy mmdvmhost_service to /usr/local/sbin + 2. Change the permisions of /usr/local/sbin/mmdvmhost_service to 500 (root executable) + 3. Change the variables in /usr/local/sbin/mmdvmhost_service to match your setup + (MMDVMHost.ini location, log location, user and daemon location) + 4. Copy mmdvmhost.service to /lib/systemd/system + 5. Copy mmdvmhost.timer to /lib/systemd/system + 6. Edit the timeout in mmdvmhost.timer to suit - 45 secs is a reasonable starting point. + 7. Reload systemctl with: "systemctl daemon-reload" + 8. Add the timer serice to the boot with: "systemctl enable mmdvmhost.timer" + **NOTE - There is no need / desire to enable mmdvmhost.service! -Copy mmdvmhost.service to /lib/systemd/system -Copy mmdvmhost.timer to /lib/systemd/system -Edit the timeout in mmdvmhost.timer to suit - 45 secs is a reasonable starting point. -Reload systemctl with: "systemctl daemon-reload" -Add the timer serice to the boot with: "systemctl enable mmdvmhost.timer" -**NOTE - There is no need / desire to enable mmdvmhost.service!