First version

This commit is contained in:
paukstelis
2019-09-16 19:03:37 -04:00
parent d2c75ac795
commit 350ae6b9f7
4 changed files with 311 additions and 0 deletions

29
octoprint_default Normal file
View File

@@ -0,0 +1,29 @@
# 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