summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat/sysstat
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-06-12 14:13:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 12:43:24 +0100
commit2e7e720cff745f9338217bfc9076451e34941268 (patch)
treee326b4fd0552d054270db6f191daa4aca3fdca51 /meta/recipes-extended/sysstat/sysstat
parent1031ae366032cee95f573853586e8f00b9c8493a (diff)
downloadpoky-2e7e720cff745f9338217bfc9076451e34941268.tar.gz
sysstat: add systemd service files
Add sysstat.service to support systemd systems. (From OE-Core rev: 3278af2266a078351a4f614c79bfbea2514566a1) Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat')
-rw-r--r--meta/recipes-extended/sysstat/sysstat/sysstat.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat/sysstat.service b/meta/recipes-extended/sysstat/sysstat/sysstat.service
new file mode 100644
index 0000000000..aff07109f5
--- /dev/null
+++ b/meta/recipes-extended/sysstat/sysstat/sysstat.service
@@ -0,0 +1,12 @@
1[Unit]
2Description=Resets System Activity Logs
3
4[Service]
5Type=oneshot
6RemainAfterExit=yes
7User=root
8ExecStart=@LIBDIR@/sa/sa1 --boot
9
10[Install]
11WantedBy=multi-user.target
12