2017 © Pedro Peláez
 

library sakura_vps_maintenance_check

Check whether the IP address to the maintenance information page of Sakura VPS exists

image

bootjp/sakura_vps_maintenance_check

Check whether the IP address to the maintenance information page of Sakura VPS exists

  • Monday, February 27, 2017
  • by bootjp
  • Repository
  • 1 Watchers
  • 3 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

さくらVPSのメンテナンスに情報にIPアドレスが乗っているかしらべるやつ

Check whether the IP address to the maintenance information page of Sakura VPS exists

Build Status Scrutinizer Code Quality, (*1)

how to use

git clone git@github.com:bootjp/CheckSakuraVPSMaintenans.git
cd CheckSakuraVPSMaintenans/
# or 
cd checksakuravpsmaintenans/
composer install

and Edit ipaddress.ini, (*2)

run of script

php sample.php

run of docker image (https://hub.docker.com/r/bootjp/checksakuravpsmaintenans/)

ex), (*3)

docker run -e ENV_INI="ini file path" -v ini file dir/:/tmp bootjp/checksakuravpsmaintenans php /app/sample.php
docker run -it -e ENV_INI='/tmp/ipaddress.ini' -v $(pwd):/tmp bootjp/checksakuravpsmaintenans  php /app/sample.php

run bash script, (*4)

#!/bin/bash
pull_result=$(docker pull bootjp/checksakuravpsmaintenans)
pull_code=$?
run_result=$(docker run --rm -e ENV_INI='/tmp/ipadress.ini' -v /root/:/tmp/ bootjp/checksakuravpsmaintenans php /app/sample.php)
run_code=$?
if [ 0 -ne ${pull_code} ] ;then
  echo ${pull_result} >&2
  exit 1
elif [ 0 -ne ${run_code} ] ;then
  echo ${run_result} >&2
  exit 1
fi
exit 0

The Versions

27/02 2017

dev-master

9999999-dev

Check whether the IP address to the maintenance information page of Sakura VPS exists

  Sources   Download

MIT

The Requires

 

by Avatar bootjp

27/02 2017

dev-_update

dev-_update

Check whether the IP address to the maintenance information page of Sakura VPS exists

  Sources   Download

MIT

The Requires

 

by Avatar bootjp

11/04 2016

0.0.1

0.0.1.0

  Sources   Download

The Requires