Some amplifiers have a "remote" input which allows the dashboard unit to remotely turn the amplifier on or put the amplifier in low power (standby) mode. Seems to me you can either see if you can use a remote signal, or alternatively rewire the amplifier power lead so that it only gets +12 when the ignition switch is set to "on" or "accessory".