mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/below: remove unused files
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
c8858d6afe
commit
a61cd3dddc
@@ -1,30 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
pidfile=/run/${RC_SVCNAME}.pid
|
||||
LOGPATH=/var/log/${RC_SVCNAME}
|
||||
DATADIR=/var/lib/${RC_SVCNAME}
|
||||
command_user=root
|
||||
command=/usr/bin/below
|
||||
command_args="record ${BELOW_EXTRA_ARGS}"
|
||||
command_background=true
|
||||
start_stop_daemon_args="
|
||||
--chdir ${DATADIR}
|
||||
-1 ${LOGPATH}/${RC_SVCNAME}.log
|
||||
-2 ${LOGPATH}/${RC_SVCNAME}.err"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
after bootmisc
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ ! -d "${LOGPATH}" ] ; then
|
||||
mkdir -p "${LOGPATH}"
|
||||
fi
|
||||
if [ ! -d "${DATADIR}" ] ; then
|
||||
mkdir -p "${DATADIR}"
|
||||
fi
|
||||
default_start
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
/var/log/below/error_*.log {
|
||||
daily
|
||||
rotate 14
|
||||
maxage 14
|
||||
copytruncate
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
create 0644 root root
|
||||
su root root
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
[Unit]
|
||||
Description=below system monitor recording daemon
|
||||
After=time-sync.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/below record --retain-for-s 604800 --compress
|
||||
# Enable backtraces in errors
|
||||
Environment=RUST_LIB_BACKTRACE=1
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user