mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
misc/openhab: cd to '/' on start
/root may have the rights "o=", which will result in issues on start. Adapt the command line arguments to daemon(8) to cd to /. Reported by: Sandro Wirth <sandro.wirth@gmx.de> Tested by: Sandro Wirth <sandro.wirth@gmx.de>
This commit is contained in:
parent
0898907884
commit
ffeb9fabda
@ -1,6 +1,6 @@
|
||||
PORTNAME= openhab
|
||||
PORTVERSION= 3.1.0
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc java
|
||||
MASTER_SITES= https://openhab.jfrog.io/artifactory/libs-release-local/org/openhab/distro/openhab/${PORTVERSION}/
|
||||
DISTNAME= openhab-${PORTVERSION}
|
||||
|
@ -65,7 +65,7 @@ export JAVA_VERSION=11
|
||||
pidfile=/var/run/${name}/${name}.pid
|
||||
|
||||
command=/usr/sbin/daemon
|
||||
command_args="-p ${pidfile} -t openhab ${OPENHAB_HOME}/start.sh server"
|
||||
command_args="-p ${pidfile} -c -t openhab ${OPENHAB_HOME}/start.sh server"
|
||||
|
||||
openhab_stop() {
|
||||
${OPENHAB_RUNTIME}/bin/stop
|
||||
|
Loading…
Reference in New Issue
Block a user