Project

General

Profile

QuasselCore As A Service (Windows) » History » Version 2

« Previous - Version 2/7 (diff) - Next » - Current version
ChrisH, 08/22/2013 06:32 AM


QuasselCore As A Service (Windows)

Instructions for settting up Quasel as a service can be found here: http://dotknot.blogspot.ca/2012/01/installing-quassel-on-windows.html

Note that since the core is running on a different user, your configuration folder will be at C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\quassel-irc.org.

If you already have a configuration setup that you want to migrate, copy the contents of %APPDATA%\.quassel-irc.org\ (aka C:\Users\<Username>\AppData\Roaming\.quassel-irc.org\) to the NetworkService's configuration folder.

Windows 7

There were a few changes needed to setup the service in step 3. Specifically, the argument bin in sc create changed to binPath, and required the .exe tacked onto the end.

sc create QuasselCore binPath= "C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe" DisplayName= "Quassel" obj= "NT AUTHORITY\NETWORK SERVICE" 
reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters
reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters /v Application /t REG_SZ /d "C:\Program Files (x86)\Quassel\Core\quasselcore.exe" 

Adding Parameters onto QuasselCore.exe

Say you wanted to run the service on a different port like: quasselcore.exe -p 4241. We need to add another registry value according to the srvany readme.

reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters /v AppParameters /t REG_SZ /d "-p 4241"