File: atopacct.service

package info (click to toggle)
atop 2.8.1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,112 kB
  • sloc: ansic: 27,274; python: 253; sh: 231; makefile: 170
file content (14 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Atop process accounting daemon
Documentation=man:atopacctd(8)
Conflicts=acct.service
Before=atop.service

[Service]
Type=forking
PIDFile=/run/atopacctd.pid
ExecStartPre=/bin/sh -c 'if systemctl -q is-active acct psacct; then echo "Process accounting already in use by (ps)acct"; exit 1; fi'
ExecStart=/usr/sbin/atopacctd

[Install]
WantedBy=multi-user.target