Difference between revisions of "/lib/systemd/system/sysstat.service"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} # /lib/systemd/system/sysstat.service # (C) 2012 Peter Schiffer (pschiffe <at> redhat.com) # # sysstat-12.5.2 systemd unit file: # Insert a dummy record in curre...")
 
 
Line 16: Line 16:
 
  [[RemainAfterExit]]=yes
 
  [[RemainAfterExit]]=yes
 
  User=root
 
  User=root
  [[ExecStart]]=/usr/lib/sysstat/sa1 --boot
+
  [[ExecStart]]=[[/usr/lib/sysstat/sa1]] --boot
 
   
 
   
 
  [Install]
 
  [Install]

Latest revision as of 09:52, 10 July 2023

# /lib/systemd/system/sysstat.service
# (C) 2012 Peter Schiffer (pschiffe <at> redhat.com)
#
# sysstat-12.5.2 systemd unit file:
#	 Insert a dummy record in current daily data file.
#	 This indicates that the counters have restarted from 0.

[Unit]
Description=Resets System Activity Logs
Documentation=man:sa1(8) man:sadc(8) man:sar(1) 

[Service]
Type=oneshot 
RemainAfterExit=yes
User=root
ExecStart=/usr/lib/sysstat/sa1 --boot

[Install]
WantedBy=multi-user.target
Also=sysstat-collect.timer
Also=sysstat-summary.timer

Advertising: