Update install.sh
This commit is contained in:
parent
7b4e0579fd
commit
c8400a9332
12
install.sh
12
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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue