1
<samba:parameter name="postexec"
4
advanced="1" developer="1"
5
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
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
12
<para>An interesting example may be to unmount server
15
<para><command moreinfo="none">postexec = /etc/umount /cdrom</command></para>
17
<related>preexec</related>
19
<value type="default"></value>
20
<value type="example">echo \"%u disconnected from %S from %m (%I)\" >> /tmp/log</value>