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"
|
sudo cat > /lib/systemd/system/py-aprsb1.service <<- "EOF"
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Python APRS BEACOM1
|
Description=Python APRS BEACOM1
|
||||||
After=syslog.target network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
|
||||||
Type=simple
|
|
||||||
Restart=always
|
|
||||||
RestartSec=3
|
|
||||||
StandardOutput=null
|
|
||||||
ExecStart=/usr/bin/python3 /opt/python-aprs/bcom1.py
|
ExecStart=/usr/bin/python3 /opt/python-aprs/bcom1.py
|
||||||
|
WorkingDirectory=/opt/python-aprs/
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
#
|
#
|
||||||
sudo cat > /opt/python-aprs/bcom1.py <<- "EOF"
|
sudo cat > /opt/python-aprs/bcom1.py <<- "EOF"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue