diff --git a/drone.service b/drone.service index 645ac0b..85d7aa3 100644 --- a/drone.service +++ b/drone.service @@ -2,7 +2,7 @@ Description=Drone Client Service [Service] -ExecStart=/usr/bin/python /home/pi/bluetooth_drone/drone.py +ExecStart=sleep 5 && /usr/bin/python /home/pi/bluetooth_drone/drone.py Restart=on-failure [Install] diff --git a/station.service b/station.service index 244084e..101aff6 100644 --- a/station.service +++ b/station.service @@ -2,7 +2,7 @@ Description=Station Client Service [Service] -ExecStart=/usr/bin/python /home/linaro/bluetooth_drone/server.py +ExecStart=sleep 5 && /usr/bin/python /home/linaro/bluetooth_drone/server.py Restart=on-failure [Install]