Skip to content

Commit cbc6380

Browse files
authored
SickChill 20221013 - 5449 revival (SynoCommunity#5458)
* revert to `auto` as`sc-sickchill` user is the issue. * Ensure removal
1 parent 898d23f commit cbc6380

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

spk/sickchill/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ CHANGELOG = "Switched to a wheel based install, as source and git installs are n
3030
HOMEPAGE = https://sickchill.github.io/
3131
LICENSE = GPLv3+
3232

33-
SERVICE_USER = AUTO
33+
SERVICE_USER = auto
34+
3435
SERVICE_SETUP = src/service-setup.sh
3536
SERVICE_PORT = 8081
3637
SERVICE_PORT_TITLE = $(DISPLAY_NAME)

spk/sickchill/src/service-setup.sh

100755100644
+6
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ service_postupgrade() {
4949
set_unix_permissions "${SYNOPKG_PKGDEST}"
5050
fi
5151
}
52+
53+
service_postuninst ()
54+
{
55+
# Do this as ${SYNOPKG_PKGDEST}/tmp folder not removed and should be.
56+
rm -rf "${SYNOPKG_PKGDEST}"
57+
}

0 commit comments

Comments
 (0)