Sha256: 4ee4c18f3018621bcdc86617f4dba17cbbe14a93aa7b71f44c6198dbd1631c1a

Contents?: true

Size: 506 Bytes

Versions: 14

Compression:

Stored size: 506 Bytes

Contents

#!/bin/bash

set -u
set -e

function title() {
  printf ">>>> %s <<<<\n" "$1"
}

title 'Restarting Apache HTTPD service...'
sudo service apache2 restart

title 'Restarting SSH service...'
sudo service ssh restart

title 'Restarting PostgresSQL service...'
sudo service postgresql restart

title 'Requesting web interface...'
wget 'http://localhost' &> /dev/null

title 'Reading production log...'
LOG_FILE='%%redmine_path%%/log/production.log'
printf " * tail -f \"$LOG_FILE\":\n"
sudo tail -f "$LOG_FILE"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
avm-tools-0.110.0 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.109.1 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.109.0 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.108.0 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.107.0 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.106.0 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.105.0 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.104.0 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.103.1 vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
avm-tools-0.103.0 template/avm/eac_redmine_base0/docker_image/start.sh.template
avm-tools-0.102.2 template/avm/eac_redmine_base0/docker_image/start.sh.template
avm-tools-0.102.1 template/avm/eac_redmine_base0/docker_image/start.sh.template
avm-tools-0.102.0 template/avm/eac_redmine_base0/docker_image/start.sh.template
avm-tools-0.101.0 template/avm/eac_redmine_base0/docker_image/start.sh.template