fix: plik restart wrong service
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
e4448bf856
commit
273ab88de1
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname="plik-bin"
|
pkgname="plik-bin"
|
||||||
arch="amd64"
|
arch="amd64"
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgver="1.3.8"
|
pkgver="1.3.8"
|
||||||
pkgdesc="Plik is a temporary file upload system (Wetransfer like) in Go."
|
pkgdesc="Plik is a temporary file upload system (Wetransfer like) in Go."
|
||||||
_arch="amd64"
|
_arch="amd64"
|
||||||
|
@ -32,8 +32,8 @@ function debian_postinst {
|
||||||
adduser --system plik
|
adduser --system plik
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
if systemctl is-active --quiet plik.service ; then
|
if systemctl is-active --quiet plikd.service ; then
|
||||||
systemctl restart plik.service
|
systemctl restart plikd.service
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue