pruiz / Topshelf.Linux

Topshelf extensions allowing compatibility with mono/linux.
Apache License 2.0
42 stars 14 forks source link

Install - NotImplementedException #6

Open robhol opened 8 years ago

robhol commented 8 years ago

Looks very promising, but I was unable to get installation to work. This is on Raspbian 8.0, based on Debian Jessie.

$ sudo mono HomeAutomation.exe install Configuration Result: [Success] Name home-automation-test [Success] DisplayName Home Automation Test [Success] Description lorem ipsum dolor sit amet [Success] ServiceName home-automation-test Topshelf v3.3.154.0, .NET Framework v4.0.30319.17020 Topshelf.HostFactory Error: 0 : The service terminated abnormally, System.NotImplementedException: The method or operation is not implemented. at Topshelf.Runtime.Linux.LinuxHostEnvironment.InstallService (InstallHostSettings settings, System.Action beforeInstall, System.Action afterInstall, System.Action beforeRollback, System.Action afterRollback) <0x74a1dd20 + 0x0003c> in :0 at Topshelf.Hosts.InstallHost.Run () <0x74a1d428 + 0x00573> in :0 at Topshelf.HostFactory.Run (System.Action`1 configureCallback) <0x76aaf460 + 0x00047> in :0

pruiz commented 8 years ago

Installation is not implemented. Mainly cause we do provide our binaries as an .rpm or .deb package including required initscripts specific for the init system used at each distro.

Universal installing/deploying of daemons/services in unix, as opposed from windows, is far from a 'common' implementation across distributions. But I am open to proposals.

Regards

On Sun, Apr 17, 2016 at 12:15 PM, Robin Holm notifications@github.com wrote:

Looks very promising, but I was unable to get installation to work. This is on Raspbian 8.0, based on Debian Jessie.

$ sudo mono HomeAutomation.exe install Configuration Result: [Success] Name home-automation-test [Success] DisplayName Home Automation Test [Success] Description lorem ipsum dolor sit amet [Success] ServiceName home-automation-test Topshelf v3.3.154.0, .NET Framework v4.0.30319.17020 Topshelf.HostFactory Error: 0 : The service terminated abnormally, System.NotImplementedException: The method or operation is not implemented. at Topshelf.Runtime.Linux.LinuxHostEnvironment.InstallService (InstallHostSettings settings, System.Action beforeInstall, System.Action afterInstall, System.Action beforeRollback, System.Action afterRollback) <0x74a1dd20 + 0x0003c> in :0 at Topshelf.Hosts.InstallHost.Run () <0x74a1d428 + 0x00573> in :0 at Topshelf.HostFactory.Run (System.Action`1 configureCallback) <0x76aaf460 + 0x00047> in :0

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/pruiz/Topshelf.Linux/issues/6