Selaa lähdekoodia

Modified snf-server.freebsd to use snfserver_enable for rcvar.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@111 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz 10 vuotta sitten
vanhempi
commit
5030f0059f
1 muutettua tiedostoa jossa 4 lisäystä ja 10 poistoa
  1. 4
    10
      SNF_CS_Developer_Package/Scripts/snf-server.freebsd

+ 4
- 10
SNF_CS_Developer_Package/Scripts/snf-server.freebsd Näytä tiedosto

@@ -47,7 +47,7 @@ debugProg="SNFDebugServer"
productionProg="SNFServer"

name="snfserver"
rcvar=`set_rcvar`
rcvar=snfserver_enable
required_dirs=$dir
required_files="$dir/$productionProg $dir/$clientProg $configFile"
snfserver_user=snfuser
@@ -62,17 +62,11 @@ then
# Enable core dumps.
ulimit -c unlimited

# Run debug version.
command=$dir/$debugProg

# Alternative to run under strace to get system call info.
#command="/usr/local/bin/strace"
# Get system call info.
command="/usr/bin/truss"

# Start with output redirected to a file.
command_args="$configFile >> $debugOutputFile 2>&1 &"

# Alternative for running under strace.
#command_args="-r -tt -v $dir/$debugProg $configFile >> $debugOutputFile 2>&1 &"
command_args="-d $dir/$debugProg $configFile >> $debugOutputFile 2>&1 &"

else


Loading…
Peruuta
Tallenna