New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install as service #165

Open
jakoch opened this Issue Jan 18, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@jakoch
Member

jakoch commented Jan 18, 2014

  • install "WPN-XM Server Stack" as service
    • wpn-xm.exeis not the service - the individual servers are.
  • one-click install as service, one-click de-install for every server
  • add button for this feature to the server control panel
    • register multiple services at once
  • scp config section to select components
  • research if "sc.exe" is available on all windows types, else use "nssm"

I found QtService: https://qt.gitorious.org/qt-solutions/jmdresslers-qt-solutions/source/4b7af8e27f5a9c43e0e1563ce50df2a2a2c2ef9b:qtservice
Does this help us?

How to install a service without a UAC prompt poping up?
For instance, nssm needs Administrator privileges to run the install command.

  • runas ?
  • psexec ?

How to install a service which is started, before the user login screen?
How to change the "startup type of a service" (automatic, manual, disabled, boot or system)?

When the service is running, how to switch PHP versions?

  • This needs a version selection dialog and
  • stop old php version service
  • start new php version service

We need the individual commands to install as service for every server

  • nginx
  • php
  • mariadb
  • MongoDb
    • mongod --install --directoryperdb --dbpath C:\server\mongodb\data --logpath C:\server\logs\mongodb.log --logappend --rest
    • sc.exe create MongoDB binPath= "\"C:\Program Files\MongoDB\Server\3.0\bin\mongod.exe\" --service --config=\"C:\ulyaoth\mongodb\config\mongod.yaml\"" DisplayName= "MongoDB 3.0 Standard" start= "auto"
    • sc.exe delete MongoDB
    • The command above must be run with administrator privileges.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment