mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
*** empty log message ***
SVN revision: 1239
This commit is contained in:
parent
6ca1751824
commit
435dcba058
@ -1112,12 +1112,14 @@ It is possible to execute a shell command on the server side after a new message
|
|||||||
has been submitted, edited or deleted. This feature has been used in the past
|
has been submitted, edited or deleted. This feature has been used in the past
|
||||||
for SMS notifications over a telephone system and for synchrnonization of the ELOG
|
for SMS notifications over a telephone system and for synchrnonization of the ELOG
|
||||||
database with an external SQL database. The <b><code><command></code></b> can
|
database with an external SQL database. The <b><code><command></code></b> can
|
||||||
contain substitutions similar to the <b><code>Subst</code></b> command.
|
contain substitutions similar to the <b><code>Subst</code></b> command. In addition
|
||||||
|
the list of all attachments can be referred to via <b><code><$attachemnts></code></b>
|
||||||
Following (Unix) command writes a notification into some file:<p>
|
Following (Unix) command writes a notification into some file:<p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
Execute new = echo "New message of type $type from $long_name on $remote_host" >> /tmp/elog.log
|
Execute new = echo "New message of type $type from $long_name on $remote_host" >> /tmp/elog.log
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
It should be noted that this feature can impose a security problem. If someone can edit
|
It should be noted that this feature can impose a security problem. If someone can edit
|
||||||
the elogd.cfg through the <b><code>Config</code></b> command of elogd, that person
|
the elogd.cfg through the <b><code>Config</code></b> command of elogd, that person
|
||||||
@ -1924,9 +1926,9 @@ but not executed. Default is <b><code>0</code></b>.<br><br>
|
|||||||
|
|
||||||
<li><b><code>Mirror exclude = 0 | 1</code></b><br><br>
|
<li><b><code>Mirror exclude = 0 | 1</code></b><br><br>
|
||||||
|
|
||||||
By default, all logbooks are mirrored. Individual logbooks might be excluded from
|
By default, all logbooks are mirrored. Individual logbooks might be excluded from
|
||||||
mirroring by putting <b><code>Mirror exclude = 1</code></b> in their individual logbook
|
mirroring by putting <b><code>Mirror exclude = 1</code></b> in their individual logbook
|
||||||
section of the configuration file (<B>Not</B> the [global] section).
|
section of the configuration file (<B>Not</B> the [global] section).
|
||||||
Default is <b><code>0</code></b>.
|
Default is <b><code>0</code></b>.
|
||||||
|
|
||||||
</UL>
|
</UL>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user