Skip to content

Commit

Permalink
SWAG: adjust module options to match changes
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Dec 23, 2024
1 parent 7ed198d commit e40611f
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion tools/modules/software/install_portainer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module_portainer() {
echo
;;
install)
pkg_installed docker-ce || install_docker
pkg_installed docker-ce || module_docker install
docker volume ls -q | grep -xq 'portainer_data' || docker volume create portainer_data
docker run -d \
-p '9000:9000' \
Expand Down
2 changes: 1 addition & 1 deletion tools/modules/software/install_uptime-kuma.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function module_uptimekuma () {

case "$1" in
"${commands[0]}")
pkg_installed docker-ce || install_docker
pkg_installed docker-ce || module_docker install
[[ -d "$UPTIMEKUMA_BASE" ]] || mkdir -p "$UPTIMEKUMA_BASE" || { echo "Couldn't create storage directory: $UPTIMEKUMA_BASE"; exit 1; }
docker run -d --name uptime-kuma \
--restart=always \
Expand Down
2 changes: 1 addition & 1 deletion tools/modules/software/module_deluge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module_options+=(
["module_deluge,maintainer"]="@igorpecovnik"
["module_deluge,feature"]="module_deluge"
["module_deluge,example"]="install remove purge status help"
["module_deluge,desc"]="Install deluge container"
["module_deluge,desc"]="Install deluge container"
["module_deluge,status"]="Active"
["module_deluge,doc_link"]="https://deluge-torrent.org/userguide/"
["module_deluge,group"]="Downloaders"
Expand Down
2 changes: 1 addition & 1 deletion tools/modules/software/module_docker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module_options+=(
["module_docker,author"]="@schwar3kat"
["module_docker,author"]="@schwar3kat"
["module_docker,maintainer"]="@igorpecovnik"
["module_docker,feature"]="install_docker"
["module_docker,example"]="install remove purge status help"
Expand Down
2 changes: 1 addition & 1 deletion tools/modules/software/module_embyserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module_options+=(
["module_emby,maintainer"]="@schwar3kat"
["module_emby,feature"]="module_emby"
["module_emby,example"]="install remove purge status help"
["module_emby,desc"]="Install embyserver container"
["module_emby,desc"]="Install embyserver container"
["module_emby,status"]="Active"
["module_emby,doc_link"]="https://emby.media"
["module_emby,group"]="Media"
Expand Down
2 changes: 1 addition & 1 deletion tools/modules/software/module_lidarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module_options+=(
["module_lidarr,status"]="Active"
["module_lidarr,doc_link"]="https://wiki.servarr.com/lidarr"
["module_lidarr,group"]="Downloaders"
["module_lidarr,port"]="8686"
["module_lidarr,port"]="8686"
["module_lidarr,arch"]="x86-64 arm64"
)
#
Expand Down
2 changes: 1 addition & 1 deletion tools/modules/software/module_medusa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module_options+=(
["module_medusa,status"]="Active"
["module_medusa,doc_link"]="https://github.com/pymedusa/Medusa/wiki"
["module_medusa,group"]="Downloaders"
["module_medusa,port"]="8081"
["module_medusa,port"]="8081"
["module_medusa,arch"]="x86-64 arm64"
)
#
Expand Down
3 changes: 1 addition & 2 deletions tools/modules/software/module_openhab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ function module_openhab() {

case "$1" in
"${commands[0]}")

wget -qO - https://repos.azul.com/azul-repo.key | gpg --dearmor > "/usr/share/keyrings/azul.gpg"
wget -qO - https://openhab.jfrog.io/artifactory/api/gpg/key/public | gpg --dearmor > "/usr/share/keyrings/openhab.gpg"
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" > "/etc/apt/sources.list.d/zulu.list"
echo "deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main" > "/etc/apt/sources.list.d/openhab.list"
pkg_update
pkg_install zulu17-jdk
pkg_install openhab openhab-addons
pkg_install openhab openhab-addons
systemctl daemon-reload 2> /dev/null
service enable openhab.service
service start openhab.service
Expand Down
2 changes: 1 addition & 1 deletion tools/modules/software/module_radarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module_options+=(
["module_radarr,status"]="Active"
["module_radarr,doc_link"]="https://wiki.servarr.com/radarr"
["module_radarr,group"]="Downloaders"
["module_radarr,port"]="7878"
["module_radarr,port"]="7878"
["module_radarr,arch"]="x86-64 arm64"
)
#
Expand Down
4 changes: 2 additions & 2 deletions tools/modules/software/module_sabnzbd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module_options+=(
["module_sabnzbd,maintainer"]="@igorpecovnik"
["module_sabnzbd,feature"]="module_sabnzbd"
["module_sabnzbd,example"]="install remove purge status help"
["module_sabnzbd,desc"]="Install sabnzbd container"
["module_sabnzbd,desc"]="Install sabnzbd container"
["module_sabnzbd,status"]="Active"
["module_sabnzbd,doc_link"]="https://sabnzbd.org/wiki/faq"
["module_sabnzbd,group"]="Downloaders"
["module_sabnzbd,port"]="8080"
["module_sabnzbd,port"]="8080"
["module_sabnzbd,arch"]="x86-64 arm64"
)
#
Expand Down
2 changes: 1 addition & 1 deletion tools/modules/software/module_sonarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module_options+=(
["module_sonarr,status"]="Active"
["module_sonarr,doc_link"]="https://transmissionbt.com/"
["module_sonarr,group"]="Downloaders"
["module_sonarr,port"]="8989"
["module_sonarr,port"]="8989"
["module_sonarr,arch"]="x86-64 arm64"
)
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
module_options+=(
["module_swag,author"]="@igorpecovnik"
["module_swag,maintainer"]="@igorpecovnik"
["module_swag,feature"]="module_swag"
["module_swag,desc"]="Example module unattended interface."
["module_swag,example"]="install remove purge status password help"
["module_swag,desc"]="Secure Web Application Gateway "
["module_swag,status"]="Active"
["module_swag,doc_link"]="https://github.com/linuxserver/docker-swag"
["module_swag,group"]="WebHosting"
["module_swag,port"]="443"
["module_swag,arch"]="x86-64 arm64"
)

function module_swag() {
Expand Down
4 changes: 2 additions & 2 deletions tools/modules/software/module_transmission.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module_options+=(
["module_transmission,maintainer"]="@igorpecovnik"
["module_transmission,feature"]="module_transmission"
["module_transmission,example"]="install remove purge status help"
["module_transmission,desc"]="Install transmission container"
["module_transmission,desc"]="Install transmission container"
["module_transmission,status"]="Active"
["module_transmission,doc_link"]="https://transmissionbt.com/"
["module_transmission,group"]="Downloaders"
["module_transmission,port"]="9091 51413"
["module_transmission,port"]="9091 51413"
["module_transmission,arch"]="x86-64 arm64"
)
#
Expand Down

0 comments on commit e40611f

Please sign in to comment.