Advertisement
eta4ever

/etc/default/octoprint

Sep 13th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. # Configuration for /etc/init.d/octoprint
  2.  
  3. # The init.d script will only run if this variable non-empty.
  4. OCTOPRINT_USER=opi
  5.  
  6. # base directory to use
  7. BASEDIR=/home/opi/.octoprint
  8.  
  9. # configuration file to use
  10. CONFIGFILE=/home/opi/.octoprint/config.yaml
  11.  
  12. # On what port to run daemon, default is 5000
  13. PORT=5000
  14.  
  15. # Path to the OctoPrint executable, you need to set this to match your installation!
  16. DAEMON=/home/opi/OctoPrint/venv/bin/octoprint
  17.  
  18. # What arguments to pass to octoprint, usually no need to touch this
  19. DAEMON_ARGS="--port=$PORT"
  20.  
  21. # Umask of files octoprint generates, Change this to 000 if running octoprint as its own, separate user
  22. UMASK=022
  23.  
  24. # Process priority, 0 here will result in a priority 20 process.
  25. # -2 ensures Octoprint has a slight priority over user processes.
  26. NICELEVEL=-2
  27.  
  28. # Should we run at startup?
  29. START=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement