[Unit] Description=Record [Service] ExecStart=/home/pi/bin/record.sh User=pi Type=simple Restart=on-failure [Install] WantedBy=multi-user.target