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