14 lines
376 B
Bash
Executable file
14 lines
376 B
Bash
Executable file
#!/bin/bash
|
|
|
|
version=0.10
|
|
program=${0##*/}
|
|
progdir=${0%/*}
|
|
if [ "$progdir" = "$program" ]; then progdir="."; fi
|
|
if [ "$progdir" = "." ]; then progdir="$PWD"; fi
|
|
parent=$(dirname $progdir)
|
|
if [ "$parent" = "." ]; then parent="$PWD"; fi
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
$progdir/run python -m smtpd -n -c DebuggingServer localhost:2025
|