COMPLETE HOW-TO:
Good stuff. I modified /etc/rc.local to start a different cgminer, instead of replacing minepeon's version, but it's essentially the same. Now the question I have is how to make Scripta handle more than one instance of cgminer? My crude workaround was to copy /var/www contents into subfolders, e.g. /var/www/1, /var/www/2 etc, and change 4028 port number in PHP files. It kind of works, except charts don't update, and I would prefer all instances and miners on one page. Is there a better way?