mirror of https://gitlab.com/hp3icc/emq-TE1.git
Create test.sh
This commit is contained in:
parent
7e8f89bd3e
commit
ff3b5f2135
|
|
@ -0,0 +1,20 @@
|
|||
[Unit]
|
||||
Description=MD-380 Emulator Service
|
||||
# Description=Place this file in /lib/systemd/system
|
||||
# Description=N4IRS 10/04/2020
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/opt/md380-emu
|
||||
#ExecStartPre = /bin/sh -c 'echo "Starting md380-emu: [`date +%%T.%%3N`]" >> /v>
|
||||
ExecStartPre=/bin/sh -c 'until ping -c1 google.com; do sleep 1; done;'
|
||||
ExecStart=/usr/bin/qemu-arm-static /opt/md380-emu/md380-emu -S 2470
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in New Issue