mirror of
https://github.com/DanielPollithy/bluetooth_drone.git
synced 2025-10-16 11:45:38 +00:00
d3 update
This commit is contained in:
parent
6badcdfb02
commit
ab3a9ad7b8
@ -1,8 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Drone Client Service
|
Description=Drone Client Service
|
||||||
|
After=multi-user.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/bash/ -c "/usr/bin/python /home/pi/bluetooth_drone/drone.py"
|
Type=idle
|
||||||
|
ExecStart=/usr/bin/python /home/pi/bluetooth_drone/drone.py
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@ -1,2 +1,3 @@
|
|||||||
cp drone.service /etc/systemd/system/drone.service
|
cp drone.service /etc/systemd/system/drone.service
|
||||||
|
sudo chmod 644 /etc/systemd/system/drone.service
|
||||||
systemctl enable drone.service
|
systemctl enable drone.service
|
||||||
@ -1,8 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Station Client Service
|
Description=Station Client Service
|
||||||
|
After=multi-user.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/bash/ -c "/usr/bin/python /home/linaro/bluetooth_drone/server.py"
|
Type=idle
|
||||||
|
ExecStart=/usr/bin/python /home/linaro/bluetooth_drone/server.py
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@ -1,2 +1,3 @@
|
|||||||
cp station.service /etc/systemd/system/station.service
|
cp station.service /etc/systemd/system/station.service
|
||||||
|
sudo chmod 644 /etc/systemd/system/station.service
|
||||||
systemctl enable station
|
systemctl enable station
|
||||||
Loading…
Reference in New Issue
Block a user