summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-12-29 13:28:08 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-12-29 13:28:08 +0100
commit4fc1c2c10c9c359480561927a0b0eb0a6fab9fe1 (patch)
tree824384365daada40783cc51b614774ef49749018 /conf
parent176014a5d7bc17dc9528a01df1280b09a3505a8d (diff)
downloadaur-4fc1c2c10c9c359480561927a0b0eb0a6fab9fe1.tar.gz
aur-4fc1c2c10c9c359480561927a0b0eb0a6fab9fe1.tar.xz
Add systemd unit files for the AUR sshd
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'conf')
-rw-r--r--conf/aur-sshd.socket6
-rw-r--r--conf/aur-sshd@.service8
2 files changed, 14 insertions, 0 deletions
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