added about and group metadata

pull/720/head
Matt Broyles 2016-05-18 09:33:12 -05:00
parent 05385d43d7
commit 76d026f2ad
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ about-plugin 'Function to kill a daemonized Rails server.'
# Quick function to kill a daemonized Rails server
function killrails() {
about 'Searches for a daemonized Rails server in tmp/pids and attempts to kill it.'
group 'server'
railsPid="$(cat tmp/pids/server.pid)"
if [ ! -z "$railsPid" ]; then
echo "[OK] Rails Server Process Id : ${railsPid}"