d3 update

This commit is contained in:
Daniel Pollithy 2017-08-31 22:54:38 +02:00
parent 6badcdfb02
commit ab3a9ad7b8
4 changed files with 8 additions and 2 deletions

View File

@ -1,8 +1,10 @@
[Unit]
Description=Drone Client Service
After=multi-user.target
[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
[Install]

View File

@ -1,2 +1,3 @@
cp drone.service /etc/systemd/system/drone.service
sudo chmod 644 /etc/systemd/system/drone.service
systemctl enable drone.service

View File

@ -1,8 +1,10 @@
[Unit]
Description=Station Client Service
After=multi-user.target
[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
[Install]

View File

@ -1,2 +1,3 @@
cp station.service /etc/systemd/system/station.service
sudo chmod 644 /etc/systemd/system/station.service
systemctl enable station