From ab589ba3b0eb0fc236cd338e350319eefe5621f7 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 23 Jul 2021 11:43:03 +0200 Subject: [SshdConfigGenerator] Fix service target --- src/main/java/org/openslx/taskmanager/tasks/SshdConfigGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/org/openslx/taskmanager/tasks/SshdConfigGenerator.java b/src/main/java/org/openslx/taskmanager/tasks/SshdConfigGenerator.java index cb66038..ea0fd8d 100644 --- a/src/main/java/org/openslx/taskmanager/tasks/SshdConfigGenerator.java +++ b/src/main/java/org/openslx/taskmanager/tasks/SshdConfigGenerator.java @@ -113,7 +113,7 @@ public class SshdConfigGenerator extends AbstractTask return false; } boolean ok = Archive.tarCreateFileFromString( outArchive, "/etc/ssh/sshd_config", template, 0644 ); - ok |= Archive.tarCreateSymlink( outArchive, "../sshd.service", "/etc/systemd/system/network.target.wants/sshd.service" ); + ok |= Archive.tarCreateSymlink( outArchive, "../sshd.service", "/etc/systemd/system/multi-user.target.wants/sshd.service" ); if ( !ok ) { status.error = "Could not create module archive contents"; return false; -- cgit v1.2.3-55-g7522