Re: mmdvm_bridge won’t start on boot after update #mmdvm_bridge


Chris Whitam
 

On Sat, Aug 1, 2020 at 10:11 PM, Steve N4IRS wrote:
mmdvm_bridge.system
Here is what it looks like

[Unit]

Description=MMDVM_Bridge Service

# Description=Place this file in /lib/systemd/system

# Description=N4IRS 04/20/2018

 

# The device name should point to the

# port the mmdvm is plugged into.

# For USB ports (Arduino Due)

# BindTo=dev-ttyACM0.device

#

# To make the network-online.target available

# systemctl enable systemd-networkd-wait-online.service

 

After=network-online.target syslog.target netcheck.service

Requires=netcheck.service

Wants=network-online.target

 

[Service]

Type=simple

Restart=always

RestartSec=3

Restart=on-abort

StandardOutput=null

WorkingDirectory=/opt/MMDVM_Bridge

ExecStartPre = /bin/sh -c 'echo "Starting MMDVM_Bridge: [`date +%%T.%%3N`]" >> $

ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

ExecReload=/bin/kill -HUP $MAINPID

 

KillMode=process

[Install]

WantedBy=multi-user.target

 

 

 

 

Join main@DVSwitch.groups.io to automatically receive all group messages.