mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Add '--service' option for usage of ProgramData directory (since 2.43.0!)
@@ -9,7 +9,7 @@ Fire up elevated Command Prompt (<kbd>Win+X</kbd>, <kbd>A</kbd> since Windows 8)
|
||||
|
||||
_Note: Mind spaces after `=`!_
|
||||
```
|
||||
sc create i2pdService binPath= "C:\soft\i2pd\i2pd.exe --daemon" DisplayName= "i2pd router service" obj= "NT AUTHORITY\LocalService" start= "auto"
|
||||
sc create i2pdService binPath= "C:\Program Files\i2pd\i2pd.exe --daemon --service" DisplayName= "i2pd router service" obj= "NT AUTHORITY\LocalService" start= "auto"
|
||||
```
|
||||
|
||||
The service will run under special *LocalService* user account. Its configuration folder is likely `C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\i2pd`. You will need elevated privileges to access LocalService AppData location. You may find it handy to use [Far File Manager](http://www.farmanager.com) or alike for such manipulations.
|
||||
|
||||
Reference in New Issue
Block a user