building-foam: start-foam.sh

File start-foam.sh, 169 bytes (added by ibaldin, 7 years ago)

Nohup start script for FOAM user by init.d script

Line 
1#!/bin/bash
2
3export PYTHONPATH=/opt/foam/lib
4DAEMON=/opt/foam/sbin/foam.fcgi
5
6# start in test mode
7#$DAEMON --test
8
9
10# start for real
11nohup $DAEMON > /dev/null 2>&1 &