mirror of https://gitlab.com/hp3icc/emq-TE1.git
update
This commit is contained in:
parent
a290514c83
commit
a283573d4d
|
|
@ -3,19 +3,22 @@ Description=Analog_Bridge Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 03/25/2021
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
#RestartPreventExitStatus=252 253 254
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
RestartPreventExitStatus=252 253 254
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/Analog_Bridge
|
||||
Environment=AnalogBridgeLogDir=/var/log/dvswitch
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting Analog_Bridge: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge.ini
|
||||
ExecStartPost= -/usr/local/sbin/update-config.sh
|
||||
Restart=on-failure
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -3,15 +3,19 @@ Description=D-Star Gateway Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 01/17/2020
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
# WorkingDirectory=
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting ircDDBGateway: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/usr/bin/ircddbgatewayd -logdir:/var/log/ircddbgateway
|
||||
Restart=on-failure
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -4,14 +4,15 @@ Description=MD-380 Emulator Service
|
|||
# Description=N4IRS 10/04/2020
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/md380-emu
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting md380-emu: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/usr/bin/qemu-arm-static /opt/md380-emu/md380-emu -S 2470
|
||||
Restart=on-failure
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
|
||||
|
|
|
|||
|
|
@ -3,16 +3,20 @@ Description=MMDVM_Bridge Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 10/16/2020
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
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`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini
|
||||
Restart=on-failure
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -3,16 +3,20 @@ Description=NXDN Gateway Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 01/17/2020
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
WorkingDirectory=/opt/NXDNGateway
|
||||
ExecStart=/opt/NXDNGateway/NXDNGateway /opt/NXDNGateway/NXDNGateway.ini
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartPreventExitStatus=SEGV
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/NXDNGateway
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting NXDNGateway: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/NXDNGateway/NXDNGateway /opt/NXDNGateway/NXDNGateway.ini
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -3,16 +3,19 @@ Description=NXDN Parrot Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 04/30/2020
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/NXDNParrot
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting NXDNParrot: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/NXDNParrot/NXDNParrot 42021
|
||||
Restart=on-failure
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -3,16 +3,20 @@ Description=P25 Gateway Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 04/20/2018
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
WorkingDirectory=/opt/P25Gateway
|
||||
ExecStart=/opt/P25Gateway/P25Gateway /opt/P25Gateway/P25Gateway.ini
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartPreventExitStatus=SEGV
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/P25Gateway
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting P25Gateway: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/P25Gateway/P25Gateway /opt/P25Gateway/P25Gateway.ini
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -3,16 +3,19 @@ Description=P25 Parrot Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 04/20/2018
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/P25Parrot
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting P25Parrot: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/P25Parrot/P25Parrot 42011
|
||||
Restart=on-failure
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -3,18 +3,20 @@ Description=Quantar_Bridge Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 04/20/2018
|
||||
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/Quantar_Bridge
|
||||
Environment=QuantarBridgeLogDir=/var/log/dvswitch
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting Quantar_Bridge: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/Quantar_Bridge/Quantar_Bridge /opt/Quantar_Bridge/Quantar_Bridge.ini
|
||||
Restart=on-failure
|
||||
ExecReload=/bin/kill -2 $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -24,17 +24,17 @@ rm /lib/systemd/system/quantar_bridge.service
|
|||
rm /lib/systemd/system/ircddbgatewayd.service
|
||||
rm /lib/systemd/system/md380-emu.service
|
||||
cd /lib/systemd/system/
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/analog_bridge.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/mmdvm_bridge.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/ysfgateway.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/ysfparrot.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/nxdngateway.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/nxdnparrot.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/p25gateway.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/p25parrot.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/quantar_bridge.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/ircddbgatewayd.service
|
||||
wget https://raw.githubusercontent.com/hp3icc/emq-TE1ws/main/service/md380-emu.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/analog_bridge.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/mmdvm_bridge.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/ysfgateway.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/ysfparrot.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/nxdngateway.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/nxdnparrot.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/p25gateway.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/p25parrot.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/quantar_bridge.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/ircddbgatewayd.service
|
||||
wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/service/md380-emu.service
|
||||
#
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl start analog_bridge.service
|
||||
|
|
|
|||
|
|
@ -3,16 +3,20 @@ Description=YSF Gateway Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 01/17/2020
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
WorkingDirectory=/opt/YSFGateway
|
||||
ExecStart=/opt/YSFGateway/YSFGateway /opt/YSFGateway/YSFGateway.ini
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartPreventExitStatus=SEGV
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/YSFGateway
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting YSFGateway: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/YSFGateway/YSFGateway /opt/YSFGateway/YSFGateway.ini
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -3,16 +3,19 @@ Description=YSF Parrot Service
|
|||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 04/30/2020
|
||||
|
||||
After=netcheck.service
|
||||
Requires=netcheck.service
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/YSFParrot
|
||||
ExecStartPre = /bin/sh -c 'echo "Starting YSFParrot: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStart=/opt/YSFParrot/YSFParrot 42012
|
||||
Restart=on-failure
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Reference in New Issue