summaryrefslogtreecommitdiff
path: root/EndoForge/src/sshd.service
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-24 17:09:13 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-24 17:12:03 -0400
commit473f1f61ac0c3489fd3bd357e2b733aafec5715a (patch)
tree8154540827a37aac9196ec08d5a45b333e93d664 /EndoForge/src/sshd.service
parentdcf8d5d6d6124cc532afaeba4f6b5d0a3a71b828 (diff)
add sshd service: make install-user
documentation updated
Diffstat (limited to 'EndoForge/src/sshd.service')
-rw-r--r--EndoForge/src/sshd.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/EndoForge/src/sshd.service b/EndoForge/src/sshd.service
new file mode 100644
index 0000000..156daa9
--- /dev/null
+++ b/EndoForge/src/sshd.service
@@ -0,0 +1,18 @@
1[Unit]
2Description=OpenBSD Secure Shell server
3Documentation=man:sshd(8) man:sshd_config(5)
4
5[Service]
6Restart=always
7ExecStartPre=/usr/sbin/sshd -t -f ${HOME}/.ssh/sshd_config
8ExecStart=/usr/sbin/sshd -D -e -f ${HOME}/.ssh/sshd_config
9ExecReload=/usr/sbin/sshd -t -f ${HOME}/.ssh/sshd_config
10ExecReload=/bin/kill -HUP $MAINPID
11KillMode=process
12Restart=on-failure
13RestartPreventExitStatus=255
14Type=notify
15
16[Install]
17WantedBy=default.target
18#Alias=sshd.service