@@ -394,10 +394,22 @@ enable_auto_refresh: False
394
394
# When set to False Moonraker will only fetch update state on startup
395
395
# and clients will need to request that Moonraker updates state. The
396
396
# default is False.
397
- distro: debian
398
- # The disto in which moonraker has been installed. Currently the
399
- # update manager only supports "debian", which encompasses all of
400
- # its derivatives. The default is debain.
397
+ enable_system_updates: True
398
+ # A boolean value that can be used to toggle system package updates.
399
+ # Currently Moonraker only supports updating packages via APT, so
400
+ # this option is useful for users that wish to experiment with linux
401
+ # distros that use other package management applications, or users
402
+ # that prefer to manage their packages directly. Note that if this
403
+ # is set to False users will be need to make sure that all system
404
+ # dependencies are up to date. The default is True.
405
+ channel: dev
406
+ # The update channel applied to Klipper and Moonraker. May be 'dev'
407
+ # which will fetch updates using git, or 'beta' which will fetch
408
+ # zipped beta releases. Note that this channel does not apply to
409
+ # client updates, a client's update channel is determined by its
410
+ # 'type' option. When this option is changed the next "update" will
411
+ # swap channels, any untracked files in the application's path will be
412
+ # removed during this process. The default is dev.
401
413
```
402
414
403
415
### Client Configuration
@@ -412,8 +424,9 @@ service restart such as Fluidd/Mainsail.
412
424
``` ini
413
425
# moonraker.conf
414
426
415
- [update_manager client client_name]
427
+ [update_manager client_name]
416
428
type: web
429
+ # Indicates that this is a web client.
417
430
repo:
418
431
# This is the GitHub repo of the client, in the format of user/client.
419
432
# For example, this could be set to cadriel/fluidd to update Fluidd or
@@ -426,22 +439,29 @@ persistent_files:
426
439
# themes. The default is no persistent files.
427
440
```
428
441
429
- This second example is for git repositories that have a service that need
430
- updating. Note that git repos must have at least one tag for Moonraker
442
+ This second example is for "applications". These may be git repositories
443
+ or zipped distributions.
444
+
445
+ Note that git repos must have at least one tag for Moonraker
431
446
to identify its version.
432
447
433
448
``` ini
434
449
# moonraker.conf
435
450
436
451
# service_name must be the name of the systemd service
437
- [update_manager client service_name]
452
+ [update_manager service_name]
438
453
type: git_repo
454
+ # Can be git_repo, zip, or zip_beta. See your the client's documentation
455
+ # for recommendations on which value to use. Generally a git_repo is
456
+ # an applications "dev" channel, zip_beta is its "beta" channel, and zip
457
+ # is its "stable" channel. This parameter must be provided.
439
458
path:
440
- # The absolute path to the client's files on disk. This parameter must be provided.
459
+ # The absolute path to the client's files on disk. This parameter must be
460
+ # provided.
441
461
# Example:
442
462
# path: ~/service_name
443
463
origin:
444
- # The full GitHub URL of the "origin" remote for the repository. This can
464
+ # The full git URL of the "origin" remote for the repository. This can
445
465
# be be viewed by navigating to your repository and running:
446
466
# git remote -v
447
467
# This parameter must be provided.
@@ -468,6 +488,14 @@ enable_node_updates:
468
488
# to package-lock.json. Note that if your project does not have a
469
489
# package-lock.json in its root directory then the plugin will fail to load.
470
490
# Default is False.
491
+ host_repo:
492
+ # The GitHub repo in which zipped releases are hosted. Note that this does
493
+ # not need to match the repository in the "origin" option, as it is possible
494
+ # to use a central GitHub repository to host multiple client builds. As
495
+ # an example, Moonraker's repo hosts builds for both Moonraker and Klipper.
496
+ # This option defaults to the repo extracted from the "origin" option,
497
+ # however if the origin is not hosted on GitHub then this parameter must
498
+ # be provided.
471
499
```
472
500
473
501
## ` [mqtt] `
0 commit comments