So I am developing a simple installation script for a Raspberry based app. It installs the LAMP install, grants some permissions among other things. And part of the process is to change the apache DocumentRoot to point to /home/pi/bticino
Is there a command or set of commands to achieve this? I'd like a command that avoids replacing files. And editing the httpd.conf file is not an option (as there should not be human interaction on my script).