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"
|
||||
arch="amd64"
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgver="1.3.8"
|
||||
pkgdesc="Plik is a temporary file upload system (Wetransfer like) in Go."
|
||||
_arch="amd64"
|
||||
|
@ -32,8 +32,8 @@ function debian_postinst {
|
|||
adduser --system plik
|
||||
|
||||
systemctl daemon-reload
|
||||
if systemctl is-active --quiet plik.service ; then
|
||||
systemctl restart plik.service
|
||||
if systemctl is-active --quiet plikd.service ; then
|
||||
systemctl restart plikd.service
|
||||
fi
|
||||
EOF
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue