rpcd: fix init script reload action

Drop the legacy start() and stop() procedures and define a proper
reload signal action instead.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-06-06 11:27:11 +02:00
parent 7c50182e0c
commit f664d560df
2 changed files with 3 additions and 6 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=rpcd
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/rpcd.git

View File

@ -15,10 +15,7 @@ start_service() {
procd_close_instance
}
stop() {
service_stop /sbin/rpcd
reload_service() {
procd_send_signal rpcd
}
reload() {
service_reload /sbin/rpcd
}