diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2015-06-12 14:13:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:24 +0100 |
commit | 2e7e720cff745f9338217bfc9076451e34941268 (patch) | |
tree | e326b4fd0552d054270db6f191daa4aca3fdca51 /meta/recipes-extended/sysstat/sysstat | |
parent | 1031ae366032cee95f573853586e8f00b9c8493a (diff) | |
download | poky-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.service | 12 |
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] | ||
2 | Description=Resets System Activity Logs | ||
3 | |||
4 | [Service] | ||
5 | Type=oneshot | ||
6 | RemainAfterExit=yes | ||
7 | User=root | ||
8 | ExecStart=@LIBDIR@/sa/sa1 --boot | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=multi-user.target | ||
12 | |||