diff --git a/package/innernet/package b/package/innernet/package index db2510734..9110ca6ff 100644 --- a/package/innernet/package +++ b/package/innernet/package @@ -6,7 +6,7 @@ archs=(rmallos2) pkgnames=(innernet-client) pkgdesc="A private network system that uses WireGuard under the hood." url="https://github.com/tonarino/innernet" -pkgver=1.5.3-3 +pkgver=1.5.3-4 timestamp=2022-01-31T20:08:43Z section="utils" maintainer="plan5 <30434574+plan5@users.noreply.github.com>" @@ -53,3 +53,12 @@ configure() { mkdir -p /opt/var/lib/innernet fi } + +preremove() { + disable-unit innernet.target + disable-unit innernet@.service +} + +postremove() { + systemctl daemon-reload +}