don't use root for moonraker
This commit is contained in:
parent
e6d9ee7618
commit
77dbece69a
@ -2,8 +2,8 @@
|
||||
enable_force_move: True
|
||||
|
||||
# NOTE If you're using a Raspberry Pi, you can uncomment the next 2 lines, optionally.
|
||||
[temperature_sensor raspberry_pi]
|
||||
sensor_type: temperature_host
|
||||
#[temperature_sensor raspberry_pi]
|
||||
#sensor_type: temperature_host
|
||||
|
||||
# NOTE If you're using a an Orange Pi, you can uncomment the next 3 lines, optionally.
|
||||
# [temperature_sensor Orange_Pi]
|
||||
@ -11,7 +11,7 @@ sensor_type: temperature_host
|
||||
# sensor_path: /sys/class/thermal/thermal_zone0/temp
|
||||
|
||||
[virtual_sdcard]
|
||||
path: /home/pi/printer_data/gcodes
|
||||
path: /var/lib/moonraker/gcodes
|
||||
|
||||
# NOTE Cancel objects feature is enabled. If you're using a low powered device, comment out [exclude_object].
|
||||
# Also see [file_manager] section in moonraker.conf.
|
||||
|
@ -10,8 +10,11 @@
|
||||
services = {
|
||||
klipper = {
|
||||
enable = true;
|
||||
user = "moonraker";
|
||||
group = "moonraker";
|
||||
configFile = ./printer.cfg;
|
||||
mutableConfig = true;
|
||||
mutableConfigFolder = "/var/lib/moonraker/config";
|
||||
firmwares."sovol06" = {
|
||||
serial = "/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0";
|
||||
enableKlipperFlash = true;
|
||||
@ -34,7 +37,6 @@
|
||||
|
||||
moonraker = {
|
||||
enable = true;
|
||||
user = "root";
|
||||
allowSystemControl = true;
|
||||
address = "0.0.0.0";
|
||||
settings = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user