Closed gabonator closed 6 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" ] ..."
…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.