mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-20 03:28:11 +01:00
Compare commits
8 Commits
copilot/de
...
6d9f694c4b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d9f694c4b | ||
|
|
a986ec0022 | ||
|
|
c55a00058a | ||
|
|
4ef855e23b | ||
|
|
c24e511ab9 | ||
|
|
db3a6b8120 | ||
|
|
476cbe23f1 | ||
|
|
c28e4ee40a |
@@ -1,4 +1,7 @@
|
||||
|
||||
## debian-2025-12-04-1 (2025-12-04)
|
||||
- Add an add-on option to disable the bundled cron service and honor it at startup
|
||||
|
||||
## debian-2025-11-25 (2025-11-25)
|
||||
- Update to latest version from charlocharlie/epicgames-freegames
|
||||
|
||||
|
||||
@@ -35,15 +35,7 @@ This addon is based on the docker image https://hub.docker.com/r/charlocharlie/e
|
||||
|
||||
## Configuration
|
||||
|
||||
Addon options expose the `env_vars` field for passing extra environment variables; all other configuration is done via the JSON file.
|
||||
|
||||
### Add-on Options
|
||||
|
||||
| Option | Type | Default | Description |
|
||||
|--------|------|---------|-------------|
|
||||
| `run_on_startup` | boolean | `true` | Run a claim cycle when the add-on starts |
|
||||
| `disable_cron` | boolean | `false` | Disable the cron schedule (only run on startup) |
|
||||
| `env_vars` | list | `[]` | Extra environment variables to pass to the container |
|
||||
Addon options expose the `env_vars` field for passing extra environment variables and a `disable_cron` switch to stop the built-in cron service; all other application configuration is done via the JSON file.
|
||||
|
||||
### Configuration Files
|
||||
|
||||
@@ -103,6 +95,7 @@ Create `/config/addons_config/epicgamesfree/config.json`:
|
||||
| `logLevel` | string | Application log level |
|
||||
| `webPortalConfig.baseUrl` | string | Base URL used by the included web portal |
|
||||
| `notifiers` | array | Notification targets such as email, Discord, Telegram, Apprise, etc. |
|
||||
| `disable_cron` | boolean | Disable the add-on's cron service if an external scheduler is used |
|
||||
|
||||
### Account Configuration
|
||||
|
||||
|
||||
@@ -75,7 +75,6 @@ map:
|
||||
name: Epic Games Free
|
||||
options:
|
||||
env_vars: []
|
||||
run_on_startup: true
|
||||
disable_cron: false
|
||||
ports:
|
||||
3000/tcp: 3000
|
||||
@@ -85,10 +84,9 @@ schema:
|
||||
env_vars:
|
||||
- name: match(^[A-Za-z0-9_]+$)
|
||||
value: str?
|
||||
run_on_startup: bool?
|
||||
disable_cron: bool?
|
||||
slug: epicgamesfree
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "debian-2025-11-25"
|
||||
version: "debian-2025-12-04-1"
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:3000]"
|
||||
|
||||
@@ -10,6 +10,22 @@ HOME="/config/addons_config/epicgamesfree"
|
||||
CONFIG_JSON="$HOME/config.json"
|
||||
LEGACY_YAML="$HOME/config.yaml"
|
||||
|
||||
if bashio::config.true 'disable_cron'; then
|
||||
bashio::log.info "Disabling cron service as requested by configuration"
|
||||
|
||||
if bashio::command.exists s6-rc && s6-rc -a list | grep -q "^cron$"; then
|
||||
s6-rc -d change cron || true
|
||||
fi
|
||||
|
||||
if [ -d /etc/services.d/cron ]; then
|
||||
rm -rf /etc/services.d/cron
|
||||
fi
|
||||
|
||||
if bashio::command.exists service; then
|
||||
service cron stop >/dev/null 2>&1 || true
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f "$CONFIG_JSON" ]; then
|
||||
if [ -f "$LEGACY_YAML" ]; then
|
||||
bashio::log.warning "A legacy config.yaml was found. A default config.json will be created. Please migrate your settings to the new file format and restart the add-on"
|
||||
@@ -28,25 +44,6 @@ fi
|
||||
# Permissions
|
||||
chmod -R 777 "$HOME"
|
||||
|
||||
######################
|
||||
# APPLY ADDON CONFIG #
|
||||
######################
|
||||
|
||||
# Handle run_on_startup option
|
||||
if bashio::config.true "run_on_startup"; then
|
||||
bashio::log.info "run_on_startup is enabled"
|
||||
jq '.runOnStartup = true' "$CONFIG_JSON" > "${CONFIG_JSON}.tmp" && mv "${CONFIG_JSON}.tmp" "$CONFIG_JSON"
|
||||
else
|
||||
bashio::log.info "run_on_startup is disabled"
|
||||
jq '.runOnStartup = false' "$CONFIG_JSON" > "${CONFIG_JSON}.tmp" && mv "${CONFIG_JSON}.tmp" "$CONFIG_JSON"
|
||||
fi
|
||||
|
||||
# Handle disable_cron option
|
||||
if bashio::config.true "disable_cron"; then
|
||||
bashio::log.info "Cron schedule is disabled - the addon will only run on startup"
|
||||
jq 'del(.cronSchedule)' "$CONFIG_JSON" > "${CONFIG_JSON}.tmp" && mv "${CONFIG_JSON}.tmp" "$CONFIG_JSON"
|
||||
fi
|
||||
|
||||
##############
|
||||
# Launch App #
|
||||
##############
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
## 4.53.0 (04-12-2025)
|
||||
- Development branch
|
||||
|
||||
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
|
||||
|
||||
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"build_from": {
|
||||
"aarch64": "lscr.io/linuxserver/ombi:arm64v8-latest",
|
||||
"amd64": "lscr.io/linuxserver/ombi:amd64-latest"
|
||||
"aarch64": "lscr.io/linuxserver/ombi:arm64v8-development",
|
||||
"amd64": "lscr.io/linuxserver/ombi:amd64-development"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,5 +86,5 @@ schema:
|
||||
slug: ombi
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/ombi
|
||||
version: 4.47.1
|
||||
version: 4.53.0
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:3579]"
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"github_beta": true,
|
||||
"last_update": "11-01-2025",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "ombi",
|
||||
"source": "github",
|
||||
"upstream_repo": "linuxserver/docker-ombi",
|
||||
"upstream_version": "4.47.1"
|
||||
"upstream_version": "4.53.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user