# /usr/lib/systemd/system/sysstat-collect.service
# (C) 2014 Tomasz Torcz <tomek@pipebreaker.pl>
#
# sysstat-12.7.5 systemd unit file:
#        Collects system activity data
#        Activated by sysstat-collect.timer unit

[Unit]
Description=system activity accounting tool
Documentation=man:sa1(8)
After=sysstat.service

[Service]
Type=oneshot
User=root
ExecCondition=sh -c 'ENABLED=false; [ -r /etc/default/sysstat ] && . /etc/default/sysstat; test "$${ENABLED}" = "true"'
ExecStart=/usr/libexec/sysstat/sa1 1 1

