Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #! /usr/bin/python
  2. import subprocess, sys, os
  3. command=["sudo", "-u", "matt", "/home/matt/cgi-bin/peercoin-abe", str(os.getpid())]
  4. subprocess.Popen(command, stdin=sys.stdin).wait()
  5.  
  6. #! /bin/sh PYTHONUNBUFFERED=1 exec python /home/matt/peercoin-explorer/Peercoin-Abe/abe.py
  7. --config /home/matt/abe-peercoin.conf --static-path static/ --watch-pid="$1" >> /home/matt/abe-peercoin.log
  8.  
  9. [Fri Aug 22 22:07:08 2014] [warn] [client 149.254.181.200] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
  10. [Fri Aug 22 22:07:08 2014] [error] [client 149.254.181.200] Premature end of script headers: peercoin-abe.fcgi
  11.  
  12. www-data ALL=(matt) NOPASSWD: /home/matt/cgi-bin/peercoin-abe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement