99f223210d
This commit was SVN r23101.
21 строка
199 B
Bash
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
|