fix(deployment): update OpenBSD rc.d template for current service architecture
- Update daemon path to use scripts/start.sh instead of direct lua execution - Correct process expression pattern (pexp) for lua process detection - Align template with installation.md service integration patterns - Ensure compatibility with current furt directory structure Fixes service integration issues identified in testing. Related to DAW/furt#98
This commit is contained in:
parent
3bef171671
commit
c575d5eed0
1 changed files with 3 additions and 4 deletions
|
|
@ -1,14 +1,13 @@
|
||||||
#!/bin/ksh
|
#!/bin/ksh
|
||||||
|
|
||||||
daemon="/usr/local/furt/furt-lua/scripts/start.sh"
|
daemon="/usr/local/share/furt/scripts/start.sh"
|
||||||
daemon_user="_furt"
|
daemon_user="_furt"
|
||||||
daemon_cwd="/usr/local/furt/furt-lua"
|
daemon_cwd="/usr/local/share/furt"
|
||||||
daemon_flags="start"
|
daemon_flags="start"
|
||||||
|
|
||||||
. /etc/rc.d/rc.subr
|
. /etc/rc.d/rc.subr
|
||||||
|
|
||||||
# pexp NACH rc.subr überschreiben (Fix für OpenBSD Issue #77)
|
pexp="lua.*src/main.lua"
|
||||||
pexp="/usr/local/bin/lua src/main.lua.*"
|
|
||||||
|
|
||||||
rc_cmd $1
|
rc_cmd $1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue