WIP: Added windows service package

* moved upstart to service/upstart
* added windows service management package.

The current implementation installs the service as tha user under which juju is currently running. This is done because some installers in windows expect that a real human will run it. The "system" user under which services usually run, does not set a proper user profile as well as other attributes, and that might cause some installers to fail.

The downside of this is that to install a service under a password protected user, you need the password for that user. The password is saved as a secure string decodable only by the juju user. The windows userdata script does save the password inside C:\Juju\Jujud.pass. The Install() method reads the encrypted password in that file and decodes it. It is the used to create the service.
I've asked for clarification from my management. I'm sorry for the delay
this may introduce.


On Wed, Jul 9, 2014 at 11:29 AM, Gabriel <notifications@github.com> wrote:

> In service/windows/service.go:
>
> > @@ -0,0 +1,189 @@
> > +package windows
>
> I need clarification on this. What would an acceptable copyright header
> be? Can it include Cloudbase Solutions?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/juju/juju/pull/246/files#r14690044>.
>