1
1
openmpi/contrib/spread/spread-init.txt

21 строка
199 B
Bash

#!/bin/bash
case "$1" in
'start')
mkdir -p /var/run/spread
cd /var/run/spread
spread&
;;
'stop')
killall spread 2>/dev/null
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
;;
esac
exit 0