v0.27.0 packaging update
This commit is contained in:
1 parent
b5ac9084c7
commit
60abc97eb0
17 files changed
+1194
-43
No files matched your search
@@ -0,0 +1,4 @@
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Homepage: https://github.com/lixenwraith/logwisp
|
||||
Description: Pipeline-based log transport with TLS and SCRAM authentication
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# sysusers and tmpfiles need no running systemd (a chroot); a first install
|
||||
# leaves the service to systemctl enable --now logwisp, an upgrade restarts it
|
||||
# if it runs. As in debhelper's scripts, only the account is fatal.
|
||||
set -e
|
||||
if [ "$1" = configure ]; then
|
||||
if command -v systemd-sysusers >/dev/null; then systemd-sysusers logwisp.conf; fi
|
||||
if command -v systemd-tmpfiles >/dev/null; then systemd-tmpfiles --create logwisp.conf || true; fi
|
||||
if [ -d /run/systemd/system ]; then
|
||||
systemctl daemon-reload || true
|
||||
if [ -n "$2" ]; then systemctl try-restart logwisp.service || true; fi
|
||||
fi
|
||||
fi
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
# A purge removes logwisp.toml; credentials in /etc/logwisp, /var/lib/logwisp,
|
||||
# /var/log/logwisp and the logwisp user stay, as make uninstall keeps them.
|
||||
set -e
|
||||
if [ -d /run/systemd/system ]; then systemctl daemon-reload || true; fi
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
if [ "$1" = remove ]; then
|
||||
if [ -d /run/systemd/system ]; then systemctl stop logwisp.service || true; fi
|
||||
systemctl disable logwisp.service >/dev/null 2>&1 || true
|
||||
fi
|
||||
Reference in new issue
Block a user