ip2nginx/run.sh

8 lines
215 B
Bash

#!/bin/bash
# Resolve absolute path to the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Run the PHP updater script
/usr/bin/env php "$SCRIPT_DIR/updater.php"