From 4fc1c2c10c9c359480561927a0b0eb0a6fab9fe1 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 29 Dec 2014 13:28:08 +0100 Subject: Add systemd unit files for the AUR sshd Signed-off-by: Lukas Fleischer --- conf/aur-sshd.socket | 6 ++++++ conf/aur-sshd@.service | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 conf/aur-sshd.socket create mode 100644 conf/aur-sshd@.service (limited to 'conf') diff --git a/conf/aur-sshd.socket b/conf/aur-sshd.socket new file mode 100644 index 00000000..5b0c3dfc --- /dev/null +++ b/conf/aur-sshd.socket @@ -0,0 +1,6 @@ +[Socket] +ListenStream=2222 +Accept=yes + +[Install] +WantedBy=sockets.target diff --git a/conf/aur-sshd@.service b/conf/aur-sshd@.service new file mode 100644 index 00000000..e29c2920 --- /dev/null +++ b/conf/aur-sshd@.service @@ -0,0 +1,8 @@ +[Unit] +Description=AUR OpenSSH Per-Connection Daemon + +[Service] +ExecStart=-/srv/http/aur/openssh/sshd -i -f /srv/http/aur/.ssh/sshd_config +User=aur +StandardInput=socket +StandardError=syslog -- cgit v1.2.3-24-g4f1b