summaryrefslogtreecommitdiff
path: root/EndoForge/src/sshd.service
diff options
context:
space:
mode:
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