Skip to content
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 #6

jakoch opened this issue Jan 18, 2014 · 0 comments

install as service #6

jakoch opened this issue Jan 18, 2014 · 0 comments


Copy link

@jakoch 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:
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
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant