cvs commit: ALFS/profiles/BLFS/chapter21 postfix.xml qpopper.xml

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Jul 3 20:16:19 PDT 2004


kpfleming    04/07/03 21:16:19

  Modified:    profiles/BLFS/chapter21 postfix.xml qpopper.xml
  Log:
  use consistent command to restart syslogd
  use ALFS elements properly
  
  Revision  Changes    Path
  1.5       +5 -7      ALFS/profiles/BLFS/chapter21/postfix.xml
  
  Index: postfix.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter21/postfix.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- postfix.xml	3 Jul 2004 16:12:14 -0000	1.4
  +++ postfix.xml	4 Jul 2004 03:16:19 -0000	1.5
  @@ -95,13 +95,11 @@
   			</content>
   		</textdump>
   
  -		<copy base="/etc/postfix">
  -			<source>main.cf</source>
  -			<destination>main.cf.bak</destination>
  -		</copy>
  -
  -		<execute command="sed "s/#myhostname = host.domain.tld/myhostname = &hostname;" \ 
  -			/etc/postfix/main.cf.bak > /etc/postfix/main.cf" />
  +		<search_replace base="/etc/postfix">
  +			<file>main.cf</file>
  +			<find>#myhostname = host.domain.tld</find>
  +			<replace>myhostname = &hostname;</replace>
  +		</search_replace>
   
   		<execute command="/usr/bin/newaliases" />
   
  
  
  
  1.3       +1 -1      ALFS/profiles/BLFS/chapter21/qpopper.xml
  
  Index: qpopper.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter21/qpopper.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- qpopper.xml	3 Jul 2004 15:33:54 -0000	1.2
  +++ qpopper.xml	4 Jul 2004 03:16:19 -0000	1.3
  @@ -49,7 +49,7 @@
   			</content>
   		</textdump>
   
  -		<execute command="killall -HUP  syslogd" />
  +		<execute command="/etc/rc.d/init.d/sysklogd restart" />
   
   		<textdump mode="append">
   		        <file>/etc/xinetd.conf</file>
  
  
  



More information about the alfs-log mailing list