You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(This is a result of several discussions with @frioux on IRC.)
We need to do three things:
port daemonization stuff (implement Ubic::Daemon::OS::Windows)
customize installation process (custom paths in Ubic::Admin::Setup; register ubic.watchdog as a service using sc)
port permissions stuff (dummy Ubic::Credentials::OS::Windows will work by now)
Daemonization can be done with Win32::Detached, or using system("sc ...") if there are any problems with Win32::Detached.
nssm
Alternatively, we could delegate the heavy lifting to http://nssm.cc/. It provides nssm install and nssm remove which we could invoke from start_daemon and stop_daemon in Ubic::Daemon::OS::Windows.
We'll have to look for the service using sc directly on check_daemon.