This option specifies a command to be run whenever the service is disconnected. It takes the usual substitutions. The command may be run as the root on some systems. An interesting example may be to unmount server resources: postexec = /etc/umount /cdrom See also preexec. Default: none (no command executed) Example: postexec = echo \"%u disconnected from %S from %m (%I)\" >> /tmp/log