app-admin/verynice: use openrc-service.exlib
Change-Id: I26976d07ca262531365553a97ac1f06d53aab608
This commit is contained in:
parent
a1d11a7c06
commit
a3d40d659b
@ -1,7 +1,7 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require systemd-service
|
require openrc-service systemd-service
|
||||||
|
|
||||||
SUMMARY="A tool for dynamically adjusting the nice-level of processes"
|
SUMMARY="A tool for dynamically adjusting the nice-level of processes"
|
||||||
HOMEPAGE="http://thermal.cnde.iastate.edu/~sdh4/verynice/"
|
HOMEPAGE="http://thermal.cnde.iastate.edu/~sdh4/verynice/"
|
||||||
@ -27,8 +27,7 @@ DEFAULT_SRC_INSTALL_PARAMS=(
|
|||||||
|
|
||||||
src_install(){
|
src_install(){
|
||||||
default
|
default
|
||||||
exeinto /etc/init.d
|
|
||||||
doexe "${FILES}"/verynice
|
|
||||||
install_systemd_files
|
install_systemd_files
|
||||||
|
install_openrc_files
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user