Re: [PATCH] daemonize & change user fixes

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Kalle Marjola wrote:

> On Thu, 2004-11-04 at 00:25, Alexander Malysh wrote:
>> Hi,
>> 
>> Kalle, do you still have objections for this patch or is it ok to commit
>> as is?
>> 
> Feel free; just comment it to docs that directory is changes
> and it should be noted as 'compatibility breaker' ... :]

fine, attached userguide patch commited to cvs...

-- 
Thanks,
Alex
daemon-path-doc.patch (text/x-diff, 999 B)
Index: doc/userguide/userguide.xml
===================================================================
RCS file: /home/cvs/gateway/doc/userguide/userguide.xml,v
retrieving revision 1.288
diff -a -u -p -r1.288 userguide.xml
--- doc/userguide/userguide.xml	28 Oct 2004 16:32:14 -0000	1.288
+++ doc/userguide/userguide.xml	5 Nov 2004 19:11:51 -0000
@@ -1640,7 +1640,10 @@ white-list = "http://localhost/whitelist
 
    <row><entry><literal>-d</literal></entry>
         <entry morerows="1" valign="bottom">
-             Start process in as daemon (detached from a current shell session).
+             Start process as daemon (detached from a current shell session).
+             Note: Process will change CWD (Current working directory) to <literal>/</literal>,
+                   therefore you should ensure that all paths to binary/config/config-includes are
+                   absolute instead of relative.
         </entry></row>
    <row><entry><literal>--daemonize</literal></entry></row>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.