mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 15:43:55 +00:00
Thanks to Xavier Miller for the initial patches. Closes: https://bugs.gentoo.org/936265 Signed-off-by: Florian Schmaus <flow@gentoo.org>
18 lines
257 B
Text
18 lines
257 B
Text
#!/sbin/openrc-run
|
|
|
|
pidfile=/run/${SVCNAME}.pid
|
|
|
|
command_user="openhab:openhab"
|
|
command="/usr/bin/openhab"
|
|
command_args="daemon"
|
|
command_background=true
|
|
|
|
depend() {
|
|
need net
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping ${RC_SVCNAME}"
|
|
${command} stop
|
|
eend $?
|
|
}
|