Skip to content

Instantly share code, notes, and snippets.

@coolniikou
Created October 22, 2012 03:00
Show Gist options
  • Select an option

  • Save coolniikou/3929410 to your computer and use it in GitHub Desktop.

Select an option

Save coolniikou/3929410 to your computer and use it in GitHub Desktop.
mtpsgi daemon
$ vi /var/www/html/mt52b/mt/mt.run
$ chmod 700 /var/www/html/mt52b/mt/mt.run
#!/bin/sh
CURDIR=`dirname $0`
cd $CURDIR
/usr/local/bin/starman \
-l 127.0.0.1:18520 \
--pid /var/www/html/mt52b/mt/pids/mt.pid \
/var/www/html/mt52b/mt/mt.psgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment