Make a different log file for each run
Install initscript on Debian
Initialize pointer "desc"
Use "gpio" command for Raspberry