If headless is "true", the GUI will not be initialized and calls to the tray or the configuration wizard are omitted.
A patch is attached.
Of course, this is just a dirty hack. I think Isaacs Idea to implement an Server API and a GUI Client in to separat applications is the right way. I also attached a diagram, how the new architecture might could look.
Hello everybody,
this is really true. I'd like to run syncany on my server without a screen.
To make this work, I changed some parts in the code.
Basically i added a new configuration parameter "headless".
Sample Config: albisser< /username> <!-- optional --> ch1w47039< /machinename> <!-- optional --> system< /userimage> <!-- optional --> enabled> true</service- enabled> <!-- optional --> true</autostart > <!-- optional --> >true</ notifications> <!-- optional --> true</headless> <!-- optional -->
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<syncany>
<username>
<machinename>
<userimage>
<service-
<autostart>
<notifications
<headless>
...
</syncany>
If headless is "true", the GUI will not be initialized and calls to the tray or the configuration wizard are omitted.
A patch is attached.
Of course, this is just a dirty hack. I think Isaacs Idea to implement an Server API and a GUI Client in to separat applications is the right way. I also attached a diagram, how the new architecture might could look.