gabonator / SynologyUlozTo

UlozTo.cz file sharing service downloader plugin for Synology NAS with captcha cracker
26 stars 4 forks source link

Installing with package is much easier, so I wrote some guide how to … #1

Closed gabonator closed 6 years ago

gabonator commented 8 years ago

…install this plugin using SPK package. start-stop-status didn't work when called from shell, SYNOPKG_PKGNAME was not set. So I put there default package name in case the environment variable is not set. Not sure if this is a good approach. ServiceStatus didn't work when called from shell neither.

svasek commented 8 years ago

Script "start-stop-status" shouldn't be called from command-line directly so I decided to use SYNOPKG_PKGNAME variable instead to avoid issues in future when we would rename the package name. BTW: I like your idea with "if [ -z "$SYNOPKG_PKGNAME" ] ..."

svasek commented 8 years ago

I have already updated the main documentation in readme.md