]> granicus.if.org Git - sysstat/blob - sysstat.service.in
Merge pull request from GHSA-q8r6-g56f-9w7x
[sysstat] / sysstat.service.in
1 # @SYSTEMD_UNIT_DIR@/sysstat.service
2 # (C) 2012 Peter Schiffer (pschiffe <at> redhat.com)
3 #
4 # @PACKAGE_NAME@-@PACKAGE_VERSION@ systemd unit file:
5 #        Insert a dummy record in current daily data file.
6 #        This indicates that the counters have restarted from 0.
7
8 [Unit]
9 Description=Resets System Activity Logs
10
11 [Service]
12 Type=oneshot
13 RemainAfterExit=yes
14 User=@CRON_OWNER@
15 ExecStart=@SA_LIB_DIR@/sa1 --boot
16
17 [Install]
18 WantedBy=multi-user.target
19 Also=sysstat-collect.timer
20 Also=sysstat-summary.timer
21