mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 03:23:20 -04:00
app-admin/ananicy-cpp: new package, add 1.0.0_rc6
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
18
app-admin/ananicy-cpp/files/ananicy-cpp.initd
Normal file
18
app-admin/ananicy-cpp/files/ananicy-cpp.initd
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
pidfile="/run/ananicy-cpp.pid"
|
||||
command="/usr/bin/ananicy-cpp"
|
||||
command_args="start"
|
||||
command_background=true
|
||||
|
||||
start_pre() {
|
||||
/usr/sbin/sysctl -e kernel.sched_autogroup_enabled=0
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
/usr/sbin/sysctl -e kernel.sched_autogroup_enabled=1
|
||||
}
|
||||
|
||||
stop() {
|
||||
start-stop-daemon --stop --pidfile "$pidfile"
|
||||
}
|
||||
Reference in New Issue
Block a user