#!/usr/bin/openrc-run

pidfile="/run/ananicy.pid"
command="/usr/bin/ananicy"
command_args="start"
command_background=true

stop_post() {
       /sbin/sysctl -e kernel.sched_autogroup_enabled=1
}

stop() {
       start-stop-daemon --stop --pidfile "$pidfile"
}
