via

Simple pubsub server inspired by https://patchbay.pub/
git clone https://git.ce9e.org/via.git

commit
09a6046d1514e957a5928d592e29f9d4ffb0a009
parent
799ca602623f5317875f47702e8131ca7768af18
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-05-05 06:16
add cleanup cronjob

Diffstat

M Makefile 1 +
A via-cleanup 2 ++

2 files changed, 3 insertions, 0 deletions


diff --git a/Makefile b/Makefile

@@ -5,5 +5,6 @@ via: via.go
    5     5 install:
    6     6 	install -D -m 755 via "${DESTDIR}/usr/bin/via"
    7     7 	install -D -m 644 via.service "${DESTDIR}/lib/systemd/system/via.service"
   -1     8 	install -D -m 755 via-cleanup "${DESTDIR}/etc/cron.daily/via-cleanup"
    8     9 	install -D -m 644 via.nginx "${DESTDIR}/etc/nginx/sites-available/via"
    9    10 	install -D -m 644 README.md "${DESTDIR}/usr/share/doc/via/README.md"

diff --git a/via-cleanup b/via-cleanup

@@ -0,0 +1,2 @@
   -1     1 #!/bin/sh
   -1     2 find /var/via -type f -mtime +7 -delete