A lot of enhancements

This commit is contained in:
JPT
2018-05-04 15:20:04 +02:00
parent 1c120fd944
commit 11fd5e0a71
6 changed files with 189 additions and 70 deletions
+14
View File
@@ -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>
+2
View File
@@ -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
+14
View File
@@ -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