From c1ce8471b1af8d93f9270f9a468b59aea3926c7a Mon Sep 17 00:00:00 2001 From: AndyTaylorTweet Date: Mon, 15 Aug 2016 09:25:26 +0100 Subject: [PATCH] Create mmdvmhost.service MMDVMHost Unit File This is what systemd uses to start / stop the service. All of the heavy lifting is done in /usr/local/sbin/mmdvmhost_service --- linux/systemd/mmdvmhost.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 linux/systemd/mmdvmhost.service diff --git a/linux/systemd/mmdvmhost.service b/linux/systemd/mmdvmhost.service new file mode 100644 index 0000000..a4de9f3 --- /dev/null +++ b/linux/systemd/mmdvmhost.service @@ -0,0 +1,12 @@ +[Unit] +Description=MMDVMHost Radio Servce +After=syslog.target network.target + +[Service] +Type=forking +ExecStart=/usr/local/sbin/mmdvmhost_service start +ExecStop=/usr/local/sbin/mmdvmhost_service stop +ExecReload=/usr/local/sbin/mmdvmhost_service restart + +[Install] +WantedBy=multi-user.target