source: vendor/current/docs-xml/smbdotconf/misc/postexec.xml

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

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