- 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/sh2 -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 storage3 -1 After=network.target4 -15 -1 [Service]6 -1 Type=simple7 -1 ExecStart=/usr/bin/via -v -d /var/via 80018 -1 Restart=always9 -1 User=via10 -1 ProtectSystem=full11 -1 ProtectHome=yes12 -1 MemoryDenyWriteExecute=yes13 -114 -1 [Install]15 -1 WantedBy=multi-user.target