diff --git a/conf/systemd.service b/conf/systemd.service index 12e1fae..1827064 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,7 @@ User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ ExecStart=__INSTALL_DIR__/venv/bin/python ./run.py -Environment=YNHDEV_BACKEND=__BACKEND__ +Environment=YNHDEV_BACKEND=lxd # Sandboxing options to harden security # Details for these options: https://www.freedesktop.org/software/systemd/man/systemd.exec.html diff --git a/manifest.toml b/manifest.toml index 9f2bde0..51b1425 100644 --- a/manifest.toml +++ b/manifest.toml @@ -56,12 +56,6 @@ ram.runtime = "50M" type = "boolean" default = false - [install.backend] - ask.en = "Should you use LXD or Incus (LXD support will be removed soon)" - type = "select" - choices = ["lxd"] - default = "lxd" - [resources] [resources.system_user] diff --git a/scripts/upgrade b/scripts/upgrade index 61ca3b7..b9b8ad1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,11 +62,6 @@ if [[ -z "${cluster:-}" ]]; then ynh_app_setting_set --app="$app" --key="cluster" --value="$cluster" fi -if [[ -z "${backend:-}" ]]; then - backend=lxd - ynh_app_setting_set --app="$app" --key="backend" --value="$backend" -fi - # Values now use underscore if echo "$context" | grep -- -; then context=$(echo "$context" | tr - _)