Remove sudo password request when deploying
Change the sudoers list by adding a NOPASSWD: [Cmnd_Alias] line.
In terminal: visudo
In terminal: visudo
# Cmnd alias specification Cmnd_Alias HTTPD = /usr/local/sbin/apachectl, /etc/init.d/apache2 # User privilege specification [user] ALL = NOPASSWD: HTTPD