mirror of
https://lab.it.hs-hannover.de/misc/postfix-stats.git
synced 2026-09-25 09:54:53 +02:00
A lot of enhancements
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Postfix statistics</title>
|
||||
</head>
|
||||
<body>
|
||||
<img src="hour.png">
|
||||
<img src="6hour.png">
|
||||
<img src="day.png">
|
||||
<img src="week.png">
|
||||
<img src="month.png">
|
||||
<img src="year.png">
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,2 @@
|
||||
# This cronjob triggers the grapher component of postfix-stats at regular intervals
|
||||
*/5 * * * * root /home/jpt/postfix-stats/grapher.sh >/dev/null 2>&1
|
||||
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Postfix statistics collector service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/home/jpt/postfix-stats
|
||||
ExecStart=/home/jpt/postfix-stats/collector_runner.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user