.TH sy-daemon 1 .SH NAME sy\-daemon \- starts and stops the background process (daemon) .PP .SH SYNOPSIS sy daemon (start|stop|reload|restart|status|force\-stop) .PP sy daemon list .PP sy daemon add \fB\fR .PP sy daemon remove (\fB\fR | \fB\fR) .PP .SH DESCRIPTION This command manages the Syncany background process (aka the daemon). It can start and stop the daemon, display the status and reload the daemon configuration. .PP With the actions \fB`list`\fR, \fB`add`\fR and \fB`remove`\fR, the command furthermore manages the Syncany folders controlled by the daemon. Controlled folders are synced automatically when the daemon is running. .PP This daemon can be started with \fB`sy daemon start`\fR. Once it is running, all registered folders are monitored for changes and remote changes are automatically applied to the local folder(s). All of these actions happen in the background, without the need for any intervention. .PP The daemon is configured using the \fB`daemon.xml`\fR file at ~/.config/syncany/daemon.xml. .PP .SH OPTIONS start .RS Starts the background process (if it is not already running). .PP .RE stop .RS Stops the background process (if it is running). .PP .RE reload .RS Reloads the daemon configuration without restarting the proces. .PP .RE restart .RS Stops, then starts the daemon again. .PP .RE status .RS Displays the status and the process ID (PID) of the daemon. .PP .RE force\-stop .RS Forces the process to stop. Do not use this unless absolutely necessary! .PP .RE list .RS Lists the folders managed by the daemon. .PP .RE add \fB\fR .RS Adds the given folder to the daemon configuration. The added folder will be managed by the daemon after the config has been reloaded, or the daemon is restarted. .PP .RE remove (\fB\fR | \fB\fR) .RS Removes the given folder from the daemon configuration. The argument can either be the full path of the folder or the index of the folder (as printed by the \fB`list`\fR action). Changes will be applied after a restart of the daemon. .PP .RE .SH COPYRIGHT Syncany 0.4.9\-alpha, Distributed under GPLv3, Copyright (c) 2011\-2015 Philipp C. Heckel