41 lines
700 B
Plaintext
41 lines
700 B
Plaintext
/* SWUpdate configuration file */
|
|
|
|
globals :
|
|
{
|
|
verbose = true;
|
|
loglevel = 5;
|
|
syslog = true;
|
|
/* Create a file on startup for the web interface */
|
|
postupdatecmd = "touch /tmp/swupdate.done";
|
|
};
|
|
|
|
webserver :
|
|
{
|
|
document_root = "/var/www/swupdate";
|
|
port = 8080;
|
|
};
|
|
|
|
download :
|
|
{
|
|
retries = 3;
|
|
timeout = 1800;
|
|
};
|
|
|
|
identify :
|
|
{
|
|
/* This identifies the device for update targeting */
|
|
board = "raspberrypi3";
|
|
hw-revision = "1.0";
|
|
software-set = "stable";
|
|
};
|
|
|
|
suricatta :
|
|
{
|
|
/* Configure for push notifications - not enabled by default */
|
|
enabled = false;
|
|
server = "";
|
|
id = 0;
|
|
};
|
|
|
|
/* Include external handlers */
|
|
#include "conf.d/handlers.conf" |