![]() |
|
|
#1 |
|
May 2003
3 Posts |
Hi, i would like to know how i could run mprime as a deamon, while the log file is redirected to a another place.
I have in my prime.ini prime.log=~mpcst/public_html/data/test/log1.log results.txt=~mpcst/public_html/data/test/results2.txt prime.spl=~mpcst/public_html/data/test/spl1.spl and i run it from /etc/init.d/mpcst #!/bin/sh /var/prime/mprime -d -b >> ~mpcst/public_html/data/log1.dat [mpcst@tsochos1 root]# BUT there is no log file... no details.... Is there anything i could try?? Thanks in advance mpcst |
|
|
|
|
|
#2 |
|
"Patrik Johansson"
Aug 2002
Uppsala, Sweden
6518 Posts |
That actually seems to produce no output. Maybe the -b overrides the -d. Try putting it in the background with "&" instead:
#!/bin/sh /var/prime/mprime -d >> ~mpcst/public_html/data/log1.dat & |
|
|
|