Files
octodocker_deploy/octoprint_default
2019-09-16 19:03:37 -04:00

30 lines
822 B
Plaintext

# Configuration for /etc/init.d/NEWINSTANCE
# The init.d script will only run if this variable non-empty.
OCTOPRINT_USER=OCTOUSER
# base directory to use
BASEDIR=OCTOCONFIG/.NEWINSTANCE
# configuration file to use
CONFIGFILE=OCTOCONFIG/.NEWINSTANCE/config.yaml
# On what port to run daemon, default is 5000
PORT=NEWPORT
# Path to the OctoPrint executable, you need to set this to match your installation!
DAEMON=OCTOPATH
# What arguments to pass to octoprint, usually no need to touch this
DAEMON_ARGS="--port=$PORT"
# Umask of files octoprint generates, Change this to 000 if running octoprint as its own, separate user
UMASK=022
# Process priority, 0 here will result in a priority 20 process.
# -2 ensures Octoprint has a slight priority over user processes.
NICELEVEL=-2
# Should we run at startup?
START=yes