Jo-Philipp Wich
ccd7c0af75
treewide: rename exec_timeout to rpc_exec_timeout
...
Rename the extern int to denote a global symbol.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-28 12:07:58 +01:00
Jo-Philipp Wich
c79ef22285
main: fix logic bug when not specifying a timeout option
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 16:25:39 +01:00
Jo-Philipp Wich
ecd1660f17
exec: increase maximum execution time to 120s
...
Increase the maximum possible execution time to 120 seconds and add a new
command line flag `-t` which allows overwriting the default value.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 14:28:28 +01:00
Javier Domingo Cansino
fb6e4604fb
paths: substitute literal with macro
...
Signed-off-by: Javier Domingo Cansino <javierdo1@gmail.com>
2015-11-20 18:00:28 +01:00
Jo-Philipp Wich
0c4e97b4e7
Extend copyright
2014-01-12 12:48:58 +00:00
Jo-Philipp Wich
b86774de65
Set umask to 0077 on daemon startup to prevent libuci from making world-readable directories
2013-09-05 16:14:30 +02:00
Jo-Philipp Wich
fa53571f2b
Use common /var/run/rpcd base directory to store runtime information
2013-09-05 15:14:00 +02:00
Jo-Philipp Wich
b4649c9fda
main: only purge uci savedirs if not reloading
2013-09-05 14:38:01 +02:00
Jo-Philipp Wich
524032c291
main: store session data to disk on receipt of SIGUSR1 or SIGHUP. On HUP terminate self and re-exec
2013-09-05 14:37:56 +02:00
Jo-Philipp Wich
e0afdb10ae
Move includes into subdirectory
2013-09-04 12:46:11 +02:00
Jo-Philipp Wich
07c2f0a9b1
Rename from "luci-rpcd" to "rpcd"
2013-09-02 17:23:30 +02:00
Jo-Philipp Wich
7434b2bf6c
luci2: convert to plugin library
2013-09-02 15:23:09 +02:00
Jo-Philipp Wich
c849d04fc8
file: convert to plugin library
2013-09-02 15:23:09 +02:00
Jo-Philipp Wich
bc100538d3
iwinfo: convert to plugin library
2013-09-02 15:23:09 +02:00
Jo-Philipp Wich
a86ef267a4
Add initial plugin api support
2013-08-30 20:33:23 +02:00
Jo-Philipp Wich
7c61c535be
Add luci2 namespace to offer various backend methods required by the ui
2013-06-11 18:44:18 +02:00
Jo-Philipp Wich
bf838aaa2e
Remove system namespace support again, the code has been merged into procd instead.
...
This reverts commit e5c9b0411d
.
2013-06-04 17:20:36 +02:00
Jo-Philipp Wich
e5c9b0411d
Add system namespace which offers various system information like software release, memory and swap info, uptime and load
2013-05-30 20:35:46 +02:00
Jo-Philipp Wich
9345600006
add ubus iwinfo api (lacks scanning, assoclist, countrylist and txpowerlist yet)
2013-02-02 20:48:51 +01:00
Jo-Philipp Wich
2dec70f271
add ubus uci api
2013-02-02 18:36:50 +01:00
Jo-Philipp Wich
bea6a81875
file: add exec method, rework read method
2013-01-31 22:19:22 +01:00
Jo-Philipp Wich
0607cfda5b
initial commit
2013-01-26 15:29:09 +01:00