commit 2d366eab6602759f35a51b54c3ec47a8099b0312 parent 36d7b2037f1c87397734a01fc88168a6948e9707 Author: ccx <root@dorje.wpr.cz> Date: Thu, 28 Jan 2021 14:21:37 +0100 Logger for syncthing. Diffstat:
A | syncthing-log/consumer-for | | | 1 | + |
A | syncthing-log/run | | | 3 | +++ |
A | syncthing-log/type | | | 1 | + |
A | syncthing/producer-for | | | 1 | + |
4 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/syncthing-log/consumer-for b/syncthing-log/consumer-for @@ -0,0 +1 @@ +syncthing diff --git a/syncthing-log/run b/syncthing-log/run @@ -0,0 +1,3 @@ +#!/command/execlineb -P +if { mkdir -p /var/log/syncthing } +s6-log -b -- n10 s10240000 t /var/log/syncthing diff --git a/syncthing-log/type b/syncthing-log/type @@ -0,0 +1 @@ +longrun diff --git a/syncthing/producer-for b/syncthing/producer-for @@ -0,0 +1 @@ +syncthing-log