diff options
author | Ross Burton <ross.burton@intel.com> | 2019-07-12 13:49:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 09:29:59 +0100 |
commit | f0c0e393fe02cc6ced7fd3d7ca9e02f13fbef01c (patch) | |
tree | c62c31791c7e078b58ebbac1b534361075b1033c /meta/recipes-extended/sysstat/sysstat | |
parent | d04132897c2cf67dff9948ee9c2c42cbae15387a (diff) | |
download | poky-f0c0e393fe02cc6ced7fd3d7ca9e02f13fbef01c.tar.gz |
Revert "sysstat: use service file from source codes"
This doesn't actually work as the unit file is only installed if cron support is
enabled.
This reverts commit 721f09d4897425c7131470bd756eee1b90937feb.
(From OE-Core rev: 559465348de5210c7d29361f79666b62bd6660aa)
Signed-off-by: Ross Burton <ross.burton@intel.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 | |||