Add init.d file to run at shutdown, unregistering the instance.