Home>
What i am trying to do

I want to execute the program of ↓ repeatedly.
When the program ends, I want to run the same program again automatically.

How to try and troubled

I want to create a unit file and execute it repeatedly.

The unit file of ↓ has been created and checked for operation, but it does not work.
(While the data is not updated, the LED keeps blinking and does not start.)

Isn't this possible with unit files?
Also, can you tell me if there are other easy ways?

Shell script

test.sh
If i do this, it works fine.

#!/bin/sh
#Data update check
/home/pi/dev/./LED.py
#upload
/ home/pi/dev/gdrive sync upload/home/pi/data hogehoge