diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-12-29 15:22:56 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-12-31 03:36:23 +0100 |
commit | c178370cc41fd7194e0289592538df9a15103cb7 (patch) | |
tree | 0603ce2ba2009c89460f644a1e37f108e28b5633 /sys-process | |
parent | net-wireless/kismet: enable py3.12 (diff) | |
download | gentoo-c178370cc41fd7194e0289592538df9a15103cb7.tar.gz gentoo-c178370cc41fd7194e0289592538df9a15103cb7.tar.bz2 gentoo-c178370cc41fd7194e0289592538df9a15103cb7.zip |
sys-process/atop: remove unused files
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/34541
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/atop/files/atop.rc-r2 | 8 | ||||
-rw-r--r-- | sys-process/atop/files/atop.service | 11 | ||||
-rw-r--r-- | sys-process/atop/files/atopacct.rc | 40 | ||||
-rw-r--r-- | sys-process/atop/files/atopacct.service | 14 |
4 files changed, 0 insertions, 73 deletions
diff --git a/sys-process/atop/files/atop.rc-r2 b/sys-process/atop/files/atop.rc-r2 deleted file mode 100644 index ce66821dbdd5..000000000000 --- a/sys-process/atop/files/atop.rc-r2 +++ /dev/null @@ -1,8 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="Resource-specific view of processes" -pidfile="/var/run/atop.pid" -command="/usr/share/atop/atop.daily" -command_background="true" diff --git a/sys-process/atop/files/atop.service b/sys-process/atop/files/atop.service deleted file mode 100644 index 09295b9acd12..000000000000 --- a/sys-process/atop/files/atop.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Atop advanced performance monitor -Documentation=man:atop(1) - -[Service] -Type=simple -ExecStart=/etc/atop/atop.daily -KillSignal=SIGUSR2 - -[Install] -WantedBy=multi-user.target diff --git a/sys-process/atop/files/atopacct.rc b/sys-process/atop/files/atopacct.rc deleted file mode 100644 index c68ca3e6b3a8..000000000000 --- a/sys-process/atop/files/atopacct.rc +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="Resource-specific view of processes" -command="/usr/sbin/atopacctd" -lockfile="/var/lock/subsys/atopacctd" - -start_pre() { - # Check if process accounting already in use via psacct - for PACCTFILE in /var/account/pacct /var/log/pacct ; do - if [ -f "${PACCTFILE}" ] ; then - BEFORSIZE=$(stat -c %s "${PACCTFILE}") - AFTERSIZE=$(stat -c %s "${PACCTFILE}") - - # verify if accounting file grows, so is in use - if [ ${BEFORSIZE} -lt ${AFTERSIZE} ] ; then - ewarn "Process accounting already used by psacct!" - return 1 - fi - fi - done - - checkpath -d -q ${lockfile%/*} || return 1 -} - -start() { - ebegin "Starting atopacctd" - start-stop-daemon --start --exec ${command} - touch ${lockfile} - eend $? -} - -stop() { - ebegin "Stopping atopacctd" - start-stop-daemon --stop --exec ${command} - rm ${lockfile} - eend $? -} - diff --git a/sys-process/atop/files/atopacct.service b/sys-process/atop/files/atopacct.service deleted file mode 100644 index 1f51ec41916a..000000000000 --- a/sys-process/atop/files/atopacct.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Atop process accounting daemon -Documentation=man:atopacctd(8) -Conflicts=psacct.service -After=syslog.target -Before=atop.service - -[Service] -Type=forking -PIDFile=/var/run/atopacctd.pid -ExecStart=/usr/sbin/atopacctd - -[Install] -WantedBy=multi-user.target |