summaryrefslogtreecommitdiff
path: root/community/sysstat/sysstat.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/sysstat/sysstat.service')
-rw-r--r--community/sysstat/sysstat.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/sysstat/sysstat.service b/community/sysstat/sysstat.service
new file mode 100644
index 000000000..2ff2365b3
--- /dev/null
+++ b/community/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