Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Add deprecation warning #221

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **05.09.23:** - Add deprecation warning as per [https://info.linuxserver.io/issues/2023-09-06-unifi-controller](https://info.linuxserver.io/issues/2023-09-06-unifi-controller).
* **04.09.23:** - Bump JRE to 17 to support v7.5.
* **02.05.23:** - Cleanup `apt-get install` during build to reduce image size.
* **18.03.23:** - Add mongoless branch.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ app_setup_block: |

# changelog
changelogs:
- { date: "05.09.23:", desc: "Add deprecation warning as per [https://info.linuxserver.io/issues/2023-09-06-unifi-controller](https://info.linuxserver.io/issues/2023-09-06-unifi-controller)."}
- { date: "04.09.23:", desc: "Bump JRE to 17 to support v7.5."}
- { date: "02.05.23:", desc: "Cleanup `apt-get install` during build to reduce image size."}
- { date: "18.03.23:", desc: "Add mongoless branch."}
Expand Down
17 changes: 17 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-deprecation-config/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

echo "┌─────────────────────────────────────────────────────────────────────────────┐"
echo "│ │"
echo "| From 2024-01-01 this image will be deprecated │"
echo "| and it will no longer be updated. │"
echo "│ │"
echo "│ See: https://info.linuxserver.io/issues/2023-09-06-unifi-controller |"
echo "| for more details. │"
echo "│ │"
echo "├─────────────────────────────────────────────────────────────────────────────┤"
echo "│ │"
echo "│ Please migrate to our Unifi Network Application image instead: │"
echo "│ https://github.com/linuxserver/docker-unifi-network-application │"
echo "│ │"
echo "└─────────────────────────────────────────────────────────────────────────────┘"
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/init-deprecation-config/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oneshot
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/init-deprecation-config/up
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-deprecation-config/run