v0.23.0: Routine, first public version
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
# The one command line for routine-server (scripts/deploy-server.sh runs it; so can a boot script).
|
||||
# Settings come from server.env beside this file (written by deploy-server.sh) or the environment:
|
||||
# ROUTINE_SERVER_HOST address to listen on (default 127.0.0.1)
|
||||
# ROUTINE_SERVER_PORT port (default 8070)
|
||||
# ROUTINE_SERVER_DATA data folder: routine.db + token (default ../data next to this folder)
|
||||
cd "$(dirname "$0")" || exit 1
|
||||
[ -f server.env ] && . ./server.env
|
||||
exec python3 routine_server.py --host "${ROUTINE_SERVER_HOST:-127.0.0.1}" --port "${ROUTINE_SERVER_PORT:-8070}" \
|
||||
--data "${ROUTINE_SERVER_DATA:-$(cd .. && pwd)/data}"
|
||||
Reference in New Issue
Block a user