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