WIP: JSONRPC server refactoring
Some checks reported errors
Pyxis/orion/feature%2Fjsonrpc-next Something is wrong with the build of this commit
Pyxis/orion/pipeline/head Something is wrong with the build of this commit
LaCanne/orion/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2019-02-12 10:17:06 +01:00
parent 0f0213c326
commit 713ca17c62
69 changed files with 13073 additions and 2728 deletions

24
misc/openwrt/orion.init Normal file
View File

@ -0,0 +1,24 @@
#!/bin/sh /etc/rc.common
PID_FILE=/var/run/orion.pid
COMMAND="/opt/orion/server"
WORKDIR=/opt/orion
start() {
cd "$WORKDIR"
start-stop-daemon -S \
-b -m \
-p "$PID_FILE" \
-x "$COMMAND"
}
stop() {
start-stop-daemon -K \
-p "$PID_FILE" \
-x "$COMMAND"
}
restart() {
stop
start
}