SHOW:
|
|
- or go back to the newest paste.
| 1 | # Configuration for /etc/init.d/octoprint | |
| 2 | ||
| 3 | # The init.d script will only run if this variable non-empty. | |
| 4 | - | OCTOPRINT_USER="pi" ## This is important! |
| 4 | + | OCTOPRINT_USER="pi" |
| 5 | ||
| 6 | # On what port to run daemon, default is 5000 | |
| 7 | PORT=5000 | |
| 8 | ||
| 9 | # Where octoprint is installed, this is important! | |
| 10 | DAEMON_HOME=/home/pi/OctoPrint | |
| 11 | ||
| 12 | # What arguments to pass to octoprint, usually no need to touch this | |
| 13 | DAEMON_ARGS="--port=$PORT" | |
| 14 | ||
| 15 | # Umask of files octoprint generates, Change this to 000 if running octoprint as its own, separate user | |
| 16 | UMASK=022 | |
| 17 | ||
| 18 | # Should we run at startup? | |
| 19 | RUN_AT_STARTUP="YES" |