summaryrefslogtreecommitdiff
path: root/doc/todo/windows_support/comment_17_62a1a33c2aaf4b0b8a0149ec526907d7._comment
blob: 520e50154e9e9bcefe103ed740332ae85ef6f795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawm9ocq1Kb0WL-cz-LPpvd2Xm-q8tIQvqXA"
 nickname="Dominik"
 subject="comment 17"
 date="2014-06-05T16:42:02Z"
 content="""
Actually you can create a service from any program or batch file using srvany.exe from the windows resource kit: http://support.microsoft.com/kb/137890. An alternative would be the Non-Sucking Service Manager http://nssm.cc/ 
Also nsis has some plugins for creating services, but i havent tried any of them: http://nsis.sourceforge.net/How_do_I_start/stop/create/remove/check_a_service

Upsides:
1) You don't have to touch your code or change anything in the compilation just to create the service
2) git-annex will still work fine from the console
Downside: You'd have to include an extra binary or plugin in your installer for creating the service

But I'm pretty sure that none of the commandline calls would pop up in a new window that way, but if you need the verbose mode, you could still start the webapp from console instead as service and everything will show as expected
"""]]