Jump to content


Become a part of the community today! Registration is quick and easy and will enable you to post, send personal messages, and join in on the chat! It's as simple as clicking on the links above.

Windows client command line and config file

windows commandline argv

  • Please log in to reply
5 replies to this topic

#1 kirill.kovalenko

kirill.kovalenko

    New User

  • Members
  • Pip
  • 5 posts

Posted 24 April 2013 - 08:27 AM

I'm trying to figure out the way to run Windows client as a service. I'm planning to use nssm.exe for this. The problem is that I need to supply a configuration to BTSync.exe when it's running as a service.

I looked through the web site for command line syntax and only found '--help' and '--dump-simple-config'. Both of them do not seem to work with Windows client, as well as the standard Windows '/?' .

My questions are:

Does Windows client has command line options? If yes, what are they ?
What is the recommended way to run Windows client as a service ?

version: 1.0.116

#2 kos13

kos13

    BitTorrent Sync Team

  • Employees
  • 688 posts

Posted 24 April 2013 - 08:57 AM

Windows version doesn't have a CLI. There were some workarounds to run Sync as service, but it didn't work for everyone.

We plan to add CLI to windows and ability to run Sync as service.

#3 GreatMarko

GreatMarko

    BitTorrent Sync Alpha Tester

  • Moderators
  • 1,467 posts
  • LocationUK

Posted 24 April 2013 - 09:06 AM

Does Windows client has command line options? If yes, what are they ?


At present, command line options are only available on Linux/NAS devices.

What is the recommended way to run Windows client as a service ?


There isn't an "official" way to run BTSync as a Windows service - but this has been requested a number of times in the forum, and there is another thread on this topic here. The developers are aware of this desire! Hopefully the ability to run BTSync as a service will emerge soon, although last I heard there was no specific ETA for this feature.

#4 kirill.kovalenko

kirill.kovalenko

    New User

  • Members
  • Pip
  • 5 posts

Posted 24 April 2013 - 09:07 AM

We plan to add CLI to windows and ability to run Sync as service.


Is there any ETA for this feature ?

#5 kos13

kos13

    BitTorrent Sync Team

  • Employees
  • 688 posts

Posted 24 April 2013 - 09:22 AM

I don't have any specific date. The only thing I can share, it has very high prio.
  • kirill.kovalenko likes this

#6 renini

renini

    New User

  • Members
  • Pip
  • 4 posts

Posted 28 October 2013 - 03:37 PM

High prio? But its like 6 months later and still nothing?







Also tagged with one or more of these keywords: windows, commandline, argv