summaryrefslogtreecommitdiff
path: root/op-mode-definitions/clear-log.xml.in
blob: 1f4a1aacd9b90a793ab7e59dcb02942c041507e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="clear">
    <children>
      <leafNode name="log">
        <properties>
          <help>Clear contents of current master log file</help>
        </properties>
        <command>sudo journalctl --rotate --vacuum-time=1s</command>
      </leafNode>
    </children>
  </node>
</interfaceDefinition>