fix: PullDown
This commit is contained in:
1 parent
313e097a53
commit
b34a3a4acd
15 files changed
+101
-108
No files matched your search
@@ -1,9 +1,9 @@
|
||||
# Autostart applications
|
||||
|
||||
```sh
|
||||
sudo nano /etc/systemd/system/SwordMain.service
|
||||
sudo nano /etc/systemd/system/Sword.service
|
||||
```
|
||||
|
||||
./
|
||||
```ini
|
||||
[Unit]
|
||||
Description=My Raspberry Pi Application
|
||||
@@ -14,7 +14,7 @@ Wants=network-online.target
|
||||
Type=simple
|
||||
User=gustice
|
||||
WorkingDirectory=/home/pi/SwordMain
|
||||
ExecStart=/home/pi/SwordMain/start.sh
|
||||
ExecStart=bash start.sh
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
@@ -27,12 +27,12 @@ chmod +x /home/pi/SwordMain/start.sh
|
||||
# Reload systemd
|
||||
sudo systemctl daemon-reload
|
||||
# Enable the service
|
||||
sudo systemctl enable SwordMain.service
|
||||
sudo systemctl enable Sword.service
|
||||
# start immediately
|
||||
sudo systemctl start SwordMain.service
|
||||
sudo systemctl start Sword.service
|
||||
# check status
|
||||
sudo systemctl status SwordMain.service
|
||||
sudo systemctl status Sword.service
|
||||
```
|
||||
|
||||
|
||||
promo $(pwd)/assets -b "mqtts://excaliburs-erben.de:8883" -t "outdoor/king-arthur/sword/" -p "awesomeexodusoutdooradventures" -u "exodususer"
|
||||
game $(pwd)/assets -b "mqtts://excaliburs-erben.de:8883" -t "outdoor/king-arthur/sword/" -p "awesomeexodusoutdooradventures" -u "exodususer"
|
||||
Reference in new issue
Block a user