1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00
mailinabox/conf/miabldap-capture.service
downtownallday 2a0e50c8d4 Initial commit of a log capture and reporting feature
This adds a new section to the admin panel called "Activity", that
supplies charts, graphs and details about messages entering and leaving
the host.

A new daemon captures details of system mail activity by monitoring
the /var/log/mail.log file, summarizing it into a sqllite database
that's kept in user-data.
2021-01-11 18:02:07 -05:00

12 lines
258 B
Desktop File

[Unit]
Description=MIAB-LDAP log capture daemon
ConditionPathExists=/etc/mailinabox.conf
[Service]
Type=simple
ExecStart=/usr/bin/python3 %BIN%/management/reporting/capture/capture.py
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target