Permalink
Browse files

Adding start.sh

  • Loading branch information...
1 parent b56e749 commit 41a7b04b517df7909fe851316a5c6d26bb4cac7f @megakott megakott committed Nov 19, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 start.sh
View
@@ -0,0 +1,8 @@
+#!/bin/bash
+PID=`ps ax | grep starman | grep :3013 | grep master | awk '{print $1 }'`
+echo "die - $PID!"
+kill $PID
+
+echo "reincarnation!"
+
+starman --listen :3013 /srv/www/spb.pm/spbpm.pl --workers 1 -d #--user www-data -d

0 comments on commit 41a7b04

Please sign in to comment.