app-admin/verynice: use openrc-service.exlib
Change-Id: I26976d07ca262531365553a97ac1f06d53aab608
This commit is contained in:
20
packages/app-admin/verynice/files/openrc/initd/verynice
Normal file
20
packages/app-admin/verynice/files/openrc/initd/verynice
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
depend() {
|
||||
after checkroot root
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting verynice"
|
||||
/usr/sbin/verynice -d /var/run/verynice.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping verynice"
|
||||
start-stop-daemon --stop --quiet --pidfile=/var/run/verynice.pid
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user