Changeset 36483 for main/trunk/greenstone3/service.d/greenstone3-stop.sh
- Timestamp:
- 2022-08-25T11:26:45+12:00 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/service.d/greenstone3-stop.sh
r34323 r36483 1 1 #!/bin/bash 2 2 3 full_progname=`pwd`/${BASH_SOURCE} 4 full_parentdir=${full_progname%/*/*} 3 # See: https://stackoverflow.com/questions/29832037/how-to-get-script-directory-in-posix-sh/29835459#29835459 5 4 6 cd "$full_parentdir" && . ./gs3-setup.sh && ant stop 5 full_progdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )" 6 full_parentdir=${full_progdir%/*} 7 8 cd "$full_parentdir" && . ./gs3-setup-cli.sh && . ./gs3-setup.sh && ant stop 7 9 8 10
Note:
See TracChangeset
for help on using the changeset viewer.