guides:win_service
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
guides:win_service [14/10/2012 23:13] – ppk | guides:win_service [14/10/2012 23:13] – ppk | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Service version install and setup ====== | ====== Service version install and setup ====== | ||
- | ===== 1. Download, unpack and service installation | + | ==== 1. Download, unpack and service installation ==== |
* **a. Download**\\ From [[http:// | * **a. Download**\\ From [[http:// | ||
* **b. Unpacking**\\ Unpack content of archive to some directory (for example to C:\Program Files\PtokaX\). | * **b. Unpacking**\\ Unpack content of archive to some directory (for example to C:\Program Files\PtokaX\). | ||
Line 8: | Line 8: | ||
* Install PtokaX service with command: **ptokax -i servicename** (for example **ptokax -i PtokaX**). | * Install PtokaX service with command: **ptokax -i servicename** (for example **ptokax -i PtokaX**). | ||
* If you want to use different config directory than PtokaX_Dir\cfg then install service with command: **ptokax -i servicename -c config_dir** (for example **ptokax -i PtokaX -c C: | * If you want to use different config directory than PtokaX_Dir\cfg then install service with command: **ptokax -i servicename -c config_dir** (for example **ptokax -i PtokaX -c C: | ||
- | ===== 2. Basic setup ===== | + | ==== 2. Basic setup ==== |
Before we can run our installed PtokaX service we need to do at least minimal setup.\\ | Before we can run our installed PtokaX service we need to do at least minimal setup.\\ | ||
In PtokaX archive we have config examples, we use them to setup your PtokaX hub.\\ | In PtokaX archive we have config examples, we use them to setup your PtokaX hub.\\ | ||
Line 21: | Line 21: | ||
* **To set profile: | * **To set profile: | ||
- | ===== 3. Run service | + | ==== 3. Run service ==== |
This one is simple. Service will autostart with Windows, but when you want to start it manually go to services, right click on service name and click start.\\ | This one is simple. Service will autostart with Windows, but when you want to start it manually go to services, right click on service name and click start.\\ | ||
Another way is to start it from command line with command: **sc start servicename** (for example **sc start PtokaX**). 8-) | Another way is to start it from command line with command: **sc start servicename** (for example **sc start PtokaX**). 8-) | ||
- | ===== 4. Uninstall service | + | ==== 4. Uninstall service ==== |
In case when for some reason you want to uninstall PtokaX service then it is similar to how service was installed. But instead if -i use -u (for example **ptokax -u PtokaX**). | In case when for some reason you want to uninstall PtokaX service then it is similar to how service was installed. But instead if -i use -u (for example **ptokax -u PtokaX**). |
guides/win_service.txt · Last modified: 16/08/2015 08:26 by ppk