14 lines
180 B
Bash
14 lines
180 B
Bash
#!/bin/sh
|
|
#
|
|
# Restart fortran-machine
|
|
|
|
# Kill server, if running
|
|
pkill fcgi
|
|
|
|
# Recompile server
|
|
rm fortran_fcgi
|
|
make
|
|
|
|
# Respawn fcgi
|
|
spawn-fcgi -a 127.0.0.1 -p 9000 ./fortran_fcgi
|