diff options
author | Simon Rettberg | 2021-07-23 11:43:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-07-23 11:43:03 +0200 |
commit | ab589ba3b0eb0fc236cd338e350319eefe5621f7 (patch) | |
tree | 0934c185edeb764bf5084cddaf7a49b69b5f5bba | |
parent | [IrcClient] Handle (dis)connects better (diff) | |
download | tmlite-bwlp-ab589ba3b0eb0fc236cd338e350319eefe5621f7.tar.gz tmlite-bwlp-ab589ba3b0eb0fc236cd338e350319eefe5621f7.tar.xz tmlite-bwlp-ab589ba3b0eb0fc236cd338e350319eefe5621f7.zip |
[SshdConfigGenerator] Fix service target
-rw-r--r-- | src/main/java/org/openslx/taskmanager/tasks/SshdConfigGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |