From 5fae93466e3767386f77e8017afdd3b0f6990d15 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 15 Mar 2022 18:26:03 -0300 Subject: [PATCH] stop! --- geminabox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} ;;