From a3d40d659b0dca6c801bbbd7d45b302979f172d7 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 20 May 2016 22:12:32 +0200 Subject: [PATCH] app-admin/verynice: use openrc-service.exlib Change-Id: I26976d07ca262531365553a97ac1f06d53aab608 --- .../app-admin/verynice/files/{ => openrc/initd}/verynice | 0 .../{verynice-1.1.exheres-0 => verynice-1.1-r1.exheres-0} | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) rename packages/app-admin/verynice/files/{ => openrc/initd}/verynice (100%) rename packages/app-admin/verynice/{verynice-1.1.exheres-0 => verynice-1.1-r1.exheres-0} (89%) diff --git a/packages/app-admin/verynice/files/verynice b/packages/app-admin/verynice/files/openrc/initd/verynice similarity index 100% rename from packages/app-admin/verynice/files/verynice rename to packages/app-admin/verynice/files/openrc/initd/verynice diff --git a/packages/app-admin/verynice/verynice-1.1.exheres-0 b/packages/app-admin/verynice/verynice-1.1-r1.exheres-0 similarity index 89% rename from packages/app-admin/verynice/verynice-1.1.exheres-0 rename to packages/app-admin/verynice/verynice-1.1-r1.exheres-0 index e30d5ed..e76a612 100644 --- a/packages/app-admin/verynice/verynice-1.1.exheres-0 +++ b/packages/app-admin/verynice/verynice-1.1-r1.exheres-0 @@ -1,7 +1,7 @@ # Copyright 2016 Julian Ospald # 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" HOMEPAGE="http://thermal.cnde.iastate.edu/~sdh4/verynice/" @@ -27,8 +27,7 @@ DEFAULT_SRC_INSTALL_PARAMS=( src_install(){ default - exeinto /etc/init.d - doexe "${FILES}"/verynice install_systemd_files + install_openrc_files }