Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 1b6bcee

Browse files
committed
✨ Add overridden build in commands in properties
1 parent 107a2af commit 1b6bcee

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

starter/src/main/java/com/github/fonimus/ssh/shell/SshShellAutoConfiguration.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ public SshShellAutoConfiguration(ApplicationContext context, ConfigurableEnviron
125125
*/
126126
@PostConstruct
127127
public void init() {
128-
System.setProperty("spring.shell.command.script.enabled", "false");
129-
System.setProperty("spring.shell.command.history.enabled", "false");
130128
if (context.getEnvironment().getProperty("spring.main.lazy-initialization", Boolean.class, false)) {
131129
LOGGER.info("Lazy initialization enabled, calling configuration bean explicitly to start ssh server");
132130
context.getBean(SshShellConfiguration.SshServerLifecycle.class);

0 commit comments

Comments
 (0)