summaryrefslogtreecommitdiffstats
path: root/abs/extra/sysstat/sysstat.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/sysstat/sysstat.service')
-rw-r--r--abs/extra/sysstat/sysstat.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra/sysstat/sysstat.service b/abs/extra/sysstat/sysstat.service
new file mode 100644
index 0000000..2ff2365
--- /dev/null
+++ b/abs/extra/sysstat/sysstat.service
@@ -0,0 +1,11 @@
+[Unit]
+Description= Resets System Activity Logs
+After=syslog.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/lib/sa/sa1 --boot
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target