From c8400a9332a1a148000e8e3d2ea26299f5c327bb Mon Sep 17 00:00:00 2001 From: RaspbianProyect by HP3ICC Date: Sat, 27 May 2023 18:21:20 +0000 Subject: [PATCH] Update install.sh --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index db34d8b..39de200 100644 --- a/install.sh +++ b/install.sh @@ -13,19 +13,19 @@ fi sudo cat > /lib/systemd/system/py-aprsb1.service <<- "EOF" [Unit] Description=Python APRS BEACOM1 -After=syslog.target network.target +After=network.target [Service] -User=root -Type=simple -Restart=always -RestartSec=3 -StandardOutput=null ExecStart=/usr/bin/python3 /opt/python-aprs/bcom1.py +WorkingDirectory=/opt/python-aprs/ +Restart=on-failure +RestartSec=3 [Install] WantedBy=multi-user.target + + EOF # sudo cat > /opt/python-aprs/bcom1.py <<- "EOF"