diff --git a/jukebox/src/main/java/de/bstly/we/jukebox/businesslogic/JukeboxManager.java b/jukebox/src/main/java/de/bstly/we/jukebox/businesslogic/JukeboxManager.java index 8fc8687..526fe70 100644 --- a/jukebox/src/main/java/de/bstly/we/jukebox/businesslogic/JukeboxManager.java +++ b/jukebox/src/main/java/de/bstly/we/jukebox/businesslogic/JukeboxManager.java @@ -211,6 +211,11 @@ public class JukeboxManager implements SmartInitializingSingleton { } return status; } + + if (config.isActive()) { + config.setActive(false); + systemPropertyManager.set(ACTIVE, String.valueOf(config.isActive())); + } return JsonNull.INSTANCE; }