Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

quick and dirty restarter

  • Loading branch information...
commit 898394f11ccd9dc8415e7500b5091cf82e5ffbbe 1 parent ab42439
Alexis Sukrieh authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 restart.sh
View
11 restart.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+for pid in `ps fax | grep perldancer.pl | grep -v grep | awk '{print $1}'`
+do
+ echo "killing $pid..."
+ kill $pid
+done
+
+./perldancer.pl --daemon --port 5001 --environment production
+./perldancer.pl --daemon --port 5002 --environment production
+./perldancer.pl --daemon --port 5003 --environment production
Please sign in to comment.
Something went wrong with that request. Please try again.