summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/openssh.hook
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-system/openssh.hook')
-rw-r--r--linhes/linhes-system/openssh.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/linhes/linhes-system/openssh.hook b/linhes/linhes-system/openssh.hook
new file mode 100644
index 0000000..0f9f866
--- /dev/null
+++ b/linhes/linhes-system/openssh.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Operation = Install
+Type = Package
+Target = linhes-system
+
+[Action]
+Description = Enable and start sshd...
+When = PostTransaction
+Exec = /usr/bin/systemctl enable --now sshd.service