This is preferable to setting the WorkingDirectory item in
the systemd unit, as its possible to switch between git repos
and installed wheels without requiring root.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Moonraker no longer uses the curl http client backend. The curl
commandline client is still used in some scripts and thus has been
retained.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Don't require the database and gcode paths to exist. Fall back on the
default location if they do not.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This script can be used to fix broken installations on
MainsailOS and FluiddPi distributions running a
single instance of Moonraker.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This script provides a method for users to complete an upgrade
that requires elevated privileges via ssh.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This prevents an upgrade from unintentionally populating
the config directory when a legacy install exists.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Additionally, rework the systemd unit so it is not necessary to
overwrite and reload systemd when changes are made to Moonraker's
arguments. Use a symbolic link for the executable and an environment
flle to supply the arguments.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
The "-z" flag will run the install script without running the
systemctl command. This is useful for installations which
are done outside of the normal "boot" process.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
The tag-release.sh script creates an annotated tag containing
Klipper's current state. Moonraker's update manager parses
this annotation to bind the available Klipper version to this
release of Moonraker.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
The pyserial-asyncio dependency pins pyserial to any version
greater than 3.4. Currently pip is distributing version 3.5,
which is not an official stable release.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This component will be a bridge between moonraker and https://github.com/caronc/apprise. This way users can easily add all kind of notification services to their printer.
Signed-off-by: Pieter Willekens <me@pataar.nl>
This tool may be used to backup and restore Moonraker's lmdb
database without depending on the "lmdb-utils" package. The
backup is done to a plain text file in cdb format, so a backup
may be restored on any platform.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Check for the moonraker-admin Supplementary group
in the moonraker service file and add it if necessary.
For PolKit versions > 0.106 make sure that the process
is launched with the moonraker-admin group before
granting any polkit permissions.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Add the "moonraker-admin" supplementary group to the service unit
file. Check if polkit rules are available after installation, if not
advise the user that they may wish to run set-polkit-rules.sh.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>