diff --git a/geminabox.sh b/geminabox.sh index 0893730..632a27e 100755 --- a/geminabox.sh +++ b/geminabox.sh @@ -17,7 +17,7 @@ case $1 in rm -f ${pid} daemonize -p ${pid} -l ${pid} -c ${dir} -u ruby /usr/bin/bundle exec rackup ;; - start) + stop) test ! -f ${pid} || cat ${pid} | xargs -r kill rm -f ${pid} ;;