<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/applications/luci-app-statistics/root/etc/init.d/luci_statistics, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2023-11-11T16:55:47Z</updated>
<entry>
<title>luci-app-statistics: harden sysupgrade_backup</title>
<updated>2023-11-11T16:55:47Z</updated>
<author>
<name>John Kohl</name>
</author>
<published>2023-11-11T16:19:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=55e0f28b1ec2f86068d1dad9915641e3fb22afbf'/>
<id>urn:sha1:55e0f28b1ec2f86068d1dad9915641e3fb22afbf</id>
<content type='text'>
Remove sysupgrade_backup from help.  Also have it check parameters.

Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: cleanups of bad spacing</title>
<updated>2023-11-11T12:40:22Z</updated>
<author>
<name>John Kohl</name>
</author>
<published>2023-11-11T02:11:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=465bfe24fa89703d073e6830a36a5e8eedc8e4b0'/>
<id>urn:sha1:465bfe24fa89703d073e6830a36a5e8eedc8e4b0</id>
<content type='text'>
Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: Add backup/restore for RRD statistics</title>
<updated>2023-10-29T23:48:38Z</updated>
<author>
<name>John Kohl</name>
</author>
<published>2023-10-25T02:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ad98af3a2be6c87b1f36cec05c8c3529831b7787'/>
<id>urn:sha1:ad98af3a2be6c87b1f36cec05c8c3529831b7787</id>
<content type='text'>
Add a backup/restore capability for rrd data storage in
luci_statistics.  The data storage is typically in /tmp and does not
survive reboot or sysupgrade.  This adds an option for the
administrator to configure the RRD plugin, so that the RRD data are
are preserved with a backup copy in the overlay file system.

This works for shutdown/reboot, sysupgrade (backup config files,
restore config files, and true sysupgrade).

Also fix a bug where starting luci_statistics for the first time would
not get a restart a running collectd: during install of the package
when it is not included in the base flashed image, collectd might be
started when it got installed/configured before this package gets
installed/configured.  So we need to check if it's running, and
restart it to use the luci_statistics configuration.

Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: rewrite stat-genconfig in ucode</title>
<updated>2022-10-24T23:03:37Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-23T18:25:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=984a9a4d695b14023a030b9cbc4bd6ca821425dd'/>
<id>urn:sha1:984a9a4d695b14023a030b9cbc4bd6ca821425dd</id>
<content type='text'>
Rewrite the collectd config generator script in ucode to remove the implicit
dependency on the Lua runtime.

Also move the stat-genconfig script into /usr/libexec as it isn't really a
user facing executable.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: convert init script to procd</title>
<updated>2018-05-02T05:15:58Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-05-02T05:13:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=fa2975d7c5ccc111057d0803ca59f1cef186bf28'/>
<id>urn:sha1:fa2975d7c5ccc111057d0803ca59f1cef186bf28</id>
<content type='text'>
Convert init script to procd format in order to register reload triggers
on /etc/config/luci_statistics.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>statistics: remove references to Lucid from scripts</title>
<updated>2015-08-30T11:00:29Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2015-08-30T11:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=0d5070c51089deb448476f1abadcea8e185eaf9b'/>
<id>urn:sha1:0d5070c51089deb448476f1abadcea8e185eaf9b</id>
<content type='text'>
Both init.d and uci-defaults scripts included in luci-app-statistics
still contained stuff related to lucid, which package was removed by
https://github.com/openwrt/luci/commit/91b97bc9f625d09431dc1c753209a037d7c42fbc

Changes to scripts:
* init.d: lucid reference removed,
          /var/etc creation moved earlier (before first possible use)
* uci-defaults: lucid parameters &amp; restart removed
  (but busybox httpd stuff was left intact, although it might be unnecessary)

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>Rework LuCI build system</title>
<updated>2015-01-08T15:26:20Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2014-12-03T14:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=1bb4822dca6113f73e3bc89e2acf15935e6f8e92'/>
<id>urn:sha1:1bb4822dca6113f73e3bc89e2acf15935e6f8e92</id>
<content type='text'>
 * Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;
</content>
</entry>
</feed>
