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:
Michael Mair-Keimberger
2024-08-23 07:12:53 +02:00
committed by Conrad Kostecki
parent c8858d6afe
commit a61cd3dddc
3 changed files with 0 additions and 54 deletions

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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