File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =wirerrd collector
3+
4+ [Service]
5+ Type =simple
6+ User =wirerrd
7+ WorkingDirectory =/path/to/wirerrd
8+ ExecStart =/path/to/wirerrd/wirerrd collect -i interface -o /path/to/rrd -f contrib/filters/bcast-stats.rules
9+
10+ [Install]
11+ WantedBy =multi-user.target
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =wirerrd exporter
3+
4+ [Service]
5+ Type =oneshot
6+ User =wirerrd
7+ Group =wirerrd
8+ WorkingDirectory =/path/to/wirerrd
9+ ExecStart =/path/to/wirerrd/wirerrd export -i /path/to/rrd -o /path/to/public_html_symlink
10+
11+ [Install]
12+ WantedBy =multi-user.target
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description=wirerrd export timer
3+
4+ [Timer]
5+ Unit=wirerrd-export
6+ OnBootSec=5m
7+ OnUnitActiveSec=5m
8+
9+ [Install]
10+ WantedBy=timers.target
You can’t perform that action at this time.
0 commit comments