Package DE_EPAGES::Installer::API::EpagesJ
Functions for handling epagesj
@EXPORT_OK |
Functions
- AddEpagesJService
- AddMongoDBService
- GetEpagesJEtcUrl
- GetEpagesJVersion
- GetEpagesJZipUrl
- UnpackEpagesJ
- UpdateEpagesJ
- UpdateEpagesJEtc
AddEpagesJService
Adds windows epagesj services (does nothing under Linux)
Syntax |
AddEpagesJService(); |
AddMongoDBService
Adds windows mongodb service (does nothing under Linux)
Syntax |
AddMongoDBService($MongoBinDir, $MongoDataDir, $hFlags); |
Input |
|
GetEpagesJEtcUrl
Returns URL for epagesj start/stop scripts (Linux) on the download site.
Syntax |
$DownloadUrl = GetEpagesJEtcUrl($Version); |
Input |
|
Return |
|
GetEpagesJVersion
Get version of installed epagesj as defd. in j/webapps/epagesj.version Returns 0 unless installed.
Syntax |
$Version = GetEpagesJVersion(); |
Return |
|
GetEpagesJZipUrl
Returns URL for epagesj.zip on the download site.
Syntax |
$DownloadUrl = GetEpagesJZipUrl($Version); |
Input |
|
Return |
|
UnpackEpagesJ
Updates $ENV{EPAGESJ} with package $EpagesJZip.
Syntax |
UnpackEpagesJ($EpagesJZip, $OldVersion, $NewVersion); |
Input |
|
UpdateEpagesJ
If $Version is set, upgrades/downgrades/installs epagesj. If $Version is unset, installs epagesj unless installed. Does nothing if installed and new version are same. Returns error if upgrade/downgrade/install fails.
Syntax |
$Update = UpdateEpagesJ($Version, $Source); |
Input |
|
Return |
|
UpdateEpagesJEtc
Updates epagesj start/stop scripts (Linux).
Syntax |
UpdateEpagesJEtc($OldVersion, $NewVersion); |
Input |
|