Output to a text file at startup?
I'm not terribly experienced on Debian but I'm guesing this should be a pretty simple.
I've got a minimal Debian installation running with LXDE and Openbox - I've created a daemon using Mono and I would like to save its output to a textfile. In a script or terminal I can use...
mono ./MyDaemon.exe > output.txt
...however, when I place this in my autostart script (which successfully starts up the daemon) it fails to generate the output file. Note: I'm using the /etc/xdg/lxsession/LXDE/autostart to add my line and start up my daemon. I've checked execute and write permissions and everything looks ok...
Does anyone have any ideas why it successfully starts the daemon but doesn't create the textfile?
Thanks in advance...
|