added about and group metadata
parent
05385d43d7
commit
76d026f2ad
|
|
@ -3,6 +3,9 @@ about-plugin 'Function to kill a daemonized Rails server.'
|
||||||
|
|
||||||
# Quick function to kill a daemonized Rails server
|
# Quick function to kill a daemonized Rails server
|
||||||
function killrails() {
|
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)"
|
railsPid="$(cat tmp/pids/server.pid)"
|
||||||
if [ ! -z "$railsPid" ]; then
|
if [ ! -z "$railsPid" ]; then
|
||||||
echo "[OK] Rails Server Process Id : ${railsPid}"
|
echo "[OK] Rails Server Process Id : ${railsPid}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue