Tell us about yourself!
The pin connections depend on the Arduino board as well as the RF library used. A table can be found here: https://arduino-info.wikispaces.com/Nrf24L01-2.4GH...
A 1 K resistor connected between the input pin and 3.3 V power supply will eliminate false triggering. Highly recommended.
Note that there should be an '&' symbol at the end of the line calling your script:/home/pi/.off_button.py &Without that the terminal will be captured by your script, and will never return.
Note: The resistor has to be connected to +3.3 volts, not 5 volts
It may be because the '&' symbol at the end of the line calling your script is missing: /home/pi/.off_button.py &