via

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

commit
420c90d5905eafa8b13303d6b01b82b7b4819c9d
parent
55147878c6fcd3a3977e959baf1382b2af004ba5
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-07-21 05:43
rm deployment config

only leave nginx as example

Diffstat

M Makefile 3 ---
D via-cleanup 2 --
D via.service 15 ---------------

3 files changed, 0 insertions, 20 deletions


diff --git a/Makefile b/Makefile

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

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

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

diff --git a/via.service b/via.service

@@ -1,15 +0,0 @@
    1    -1 [Unit]
    2    -1 Description=Simple generic HTTP server for messages and storage
    3    -1 After=network.target
    4    -1 
    5    -1 [Service]
    6    -1 Type=simple
    7    -1 ExecStart=/usr/bin/via -v -d /var/via 8001
    8    -1 Restart=always
    9    -1 User=via
   10    -1 ProtectSystem=full
   11    -1 ProtectHome=yes
   12    -1 MemoryDenyWriteExecute=yes
   13    -1 
   14    -1 [Install]
   15    -1 WantedBy=multi-user.target