~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to docs-xml/smbdotconf/misc/postexec.xml

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<samba:parameter name="postexec"
 
2
                 context="S"
 
3
                         type="string"
 
4
                 advanced="1" developer="1"
 
5
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 
6
<description>
 
7
        <para>This option specifies a command to be run 
 
8
        whenever the service is disconnected. It takes the usual 
 
9
        substitutions. The command may be run as the root on some 
 
10
        systems.</para>
 
11
 
 
12
        <para>An interesting example may be to unmount server 
 
13
        resources:</para>
 
14
 
 
15
<para><command moreinfo="none">postexec = /etc/umount /cdrom</command></para>
 
16
</description>
 
17
<related>preexec</related> 
 
18
 
 
19
<value type="default"></value>
 
20
<value type="example">echo \&quot;%u disconnected from %S from %m (%I)\&quot; &gt;&gt; /tmp/log</value>
 
21
</samba:parameter>