mirror of https://gitlab.com/hp3icc/emq-TE1.git
24 lines
607 B
SYSTEMD
24 lines
607 B
SYSTEMD
[Unit]
|
|
Description=Quantar_Bridge Service
|
|
# Description=Place this file in /lib/systemd/system
|
|
# Description=N4IRS 04/20/2018
|
|
|
|
After=netcheck.service
|
|
Requires=netcheck.service
|
|
|
|
[Service]
|
|
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
|
|
ExecReload=/bin/kill -2 $MAINPID
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|