QuasselCore As A Service (Windows) » History » Version 2
Version 1 (ChrisH, 08/22/2013 06:00 AM) → Version 2/7 (ChrisH, 08/22/2013 06:32 AM)
h1. 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 <code>C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\quassel-irc.org</code>.
If you already have a configuration setup that you want to migrate, copy the contents of <code>%APPDATA%\.quassel-irc.org\</code> (aka <code>C:\Users\<Username>\AppData\Roaming\.quassel-irc.org\</code>) to the NetworkService's configuration folder.
h2. Windows 7
There were a few changes needed to setup the service in step 3. Specifically, the argument <code>bin</code> in <code>sc create</code> changed to <code>binPath</code>, and required the .exe tacked onto the end.
<pre>
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"
</pre>
h2. Adding Parameters onto QuasselCore.exe
Say you wanted to run the service on a different port like: <code>quasselcore.exe -p 4241</code>. We need to add another registry value according to the "srvany readme":http://www.rezsoft.org/pforward/reskit/readme.txt.
<pre>
reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters /v AppParameters /t REG_SZ /d "-p 4241"
</pre>
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 <code>C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\quassel-irc.org</code>.
If you already have a configuration setup that you want to migrate, copy the contents of <code>%APPDATA%\.quassel-irc.org\</code> (aka <code>C:\Users\<Username>\AppData\Roaming\.quassel-irc.org\</code>) to the NetworkService's configuration folder.
h2. Windows 7
There were a few changes needed to setup the service in step 3. Specifically, the argument <code>bin</code> in <code>sc create</code> changed to <code>binPath</code>, and required the .exe tacked onto the end.
<pre>
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"
</pre>
h2. Adding Parameters onto QuasselCore.exe
Say you wanted to run the service on a different port like: <code>quasselcore.exe -p 4241</code>. We need to add another registry value according to the "srvany readme":http://www.rezsoft.org/pforward/reskit/readme.txt.
<pre>
reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters /v AppParameters /t REG_SZ /d "-p 4241"
</pre>