mirror of https://gitlab.com/hp3icc/emq-TE1.git
19 lines
384 B
SYSTEMD
19 lines
384 B
SYSTEMD
[Unit]
|
|
Description=YSF Parrot Service
|
|
# Description=Place this file in /lib/systemd/system
|
|
# Description=N4IRS 04/30/2020
|
|
|
|
|
|
[Service]
|
|
User=root
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=3
|
|
StandardOutput=null
|
|
WorkingDirectory=/opt/YSFParrot
|
|
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
|
|
ExecStart=/opt/YSFParrot/YSFParrot 42012
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|