Project

General

Profile

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

ChrisH, 08/22/2013 06:00 AM

1 1 ChrisH
h1. QuasselCore As A Service (Windows)
2 1 ChrisH
3 1 ChrisH
Instructions for settting up Quasel as a service can be found here: http://dotknot.blogspot.ca/2012/01/installing-quassel-on-windows.html
4 1 ChrisH
5 1 ChrisH
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>.
6 1 ChrisH
7 1 ChrisH
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.
8 1 ChrisH
9 1 ChrisH
h2. Windows 7
10 1 ChrisH
11 1 ChrisH
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.
12 1 ChrisH
13 1 ChrisH
<pre>
14 1 ChrisH
sc create QuasselCore binPath= "C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe" DisplayName= "Quassel" obj= "NT AUTHORITY\NETWORK SERVICE"
15 1 ChrisH
reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters
16 1 ChrisH
reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters /v Application /t REG_SZ /d "C:\Program Files (x86)\Quassel\Core\quasselcore.exe"
17 1 ChrisH
</pre>