From 354e808ccb1a6ea1283a3719c86cc25bc5cb2803 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sat, 18 Jul 2020 18:07:10 +0200 Subject: [PATCH] Add systemd unit --- 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..0587683 --- /dev/null +++ b/linux/systemd/mmdvmhost.service @@ -0,0 +1,12 @@ +[Unit] +Description=MMDVMHost Radio Servce +After=syslog.target network.target + +[Service] +User=mmdvm +Type=forking +ExecStart=/usr/bin/local/MMDVMHost +Restart=on-abnormal + +[Install] +WantedBy=multi-user.target