#!/sbin/openrc-run
# OpenRC service for /4server/sbin/cpu

name="cpu"
description="Logs cpu usage"

command="/4server/sbin/cpu"
command_background="yes"
pidfile="/run/cpu.pid"
output_log="/4server/data/log/cpu.log"
error_log="/4server/data/log/cpu.log"

depend() {
    need localmount
    after bootmisc
}

