summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-23 11:43:03 +0200
committerSimon Rettberg2021-07-23 11:43:03 +0200
commitab589ba3b0eb0fc236cd338e350319eefe5621f7 (patch)
tree0934c185edeb764bf5084cddaf7a49b69b5f5bba /src/main
parent[IrcClient] Handle (dis)connects better (diff)
downloadtmlite-bwlp-ab589ba3b0eb0fc236cd338e350319eefe5621f7.tar.gz
tmlite-bwlp-ab589ba3b0eb0fc236cd338e350319eefe5621f7.tar.xz
tmlite-bwlp-ab589ba3b0eb0fc236cd338e350319eefe5621f7.zip
[SshdConfigGenerator] Fix service target
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/openslx/taskmanager/tasks/SshdConfigGenerator.java2
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;