From 7f9b3e36841d0faf08aca3dc79b62f7374d7e546 Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Thu, 13 May 2010 22:19:35 +0000 Subject: [PATCH] Edited wiki page through web user interface. --- wiki/Manual1.wiki | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wiki/Manual1.wiki b/wiki/Manual1.wiki index d6ec5d5..e53f127 100644 --- a/wiki/Manual1.wiki +++ b/wiki/Manual1.wiki @@ -263,6 +263,8 @@ Next, just run PPSS as usual. PPSS can be run as a daemon, monitoring a file or directory for new items. If (new) input is found, it is processed. +=== IMPORTANT === + Before you put a file in a directory monitored by PPSS, you must create a directory (mkdir) called "INPUT_LOCK" inside this directory. Once the file transfer is complete, you can remove this directory. This is required to prevent race conditions. It can get messy if PPSS starts processing a file while the file in question is still being copied into the directory. Thus, in order to use the daemon feature of PPSS, you must insert a mkdir and remove dir command into your own scripts. But it gets nasty. @@ -290,6 +292,10 @@ copy file /some/directory/ # 3 - release lock rm -rf /some/directory/INPUT_LOCK +*Using a file as input* + +When using the -f option in DAEMON mode, you also need to specify a -d option, to specify a directory. This directory is used for the lock file, as described above. + }}} == Logging (must read) ==