"Fossies" - the Fresh Open Source Software Archive

Member "atop-2.8.1/atopacct.service" (7 Jan 2023, 379 Bytes) of package /linux/misc/atop-2.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "atopacct.service": 2.7.1_vs_2.8.0.

    1 [Unit]
    2 Description=Atop process accounting daemon
    3 Documentation=man:atopacctd(8)
    4 After=syslog.target
    5 Before=atop.service
    6 
    7 [Service]
    8 Type=forking
    9 PIDFile=/var/run/atopacctd.pid
   10 ExecStartPre=/bin/sh -c 'if systemctl -q is-active acct psacct; then echo "Process accounting already in use by (ps)acct"; exit 1; fi'
   11 ExecStart=/usr/sbin/atopacctd
   12 
   13 [Install]
   14 WantedBy=multi-user.target