1 2 3 4 5 6 7 8
[Unit]Description=Read light level from LDR and store result in file[Service]Type=oneshotUser=st33v# WorkingDirectory=/home/st33v/light/ExecStart=/usr/local/bin/ldr-counter.py