diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-24 17:09:13 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-24 17:12:03 -0400 |
commit | 473f1f61ac0c3489fd3bd357e2b733aafec5715a (patch) | |
tree | 8154540827a37aac9196ec08d5a45b333e93d664 /EndoForge/src/sshd.service | |
parent | dcf8d5d6d6124cc532afaeba4f6b5d0a3a71b828 (diff) |
add sshd service: make install-user
documentation updated
Diffstat (limited to 'EndoForge/src/sshd.service')
-rw-r--r-- | EndoForge/src/sshd.service | 18 |
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] | ||
2 | Description=OpenBSD Secure Shell server | ||
3 | Documentation=man:sshd(8) man:sshd_config(5) | ||
4 | |||
5 | [Service] | ||
6 | Restart=always | ||
7 | ExecStartPre=/usr/sbin/sshd -t -f ${HOME}/.ssh/sshd_config | ||
8 | ExecStart=/usr/sbin/sshd -D -e -f ${HOME}/.ssh/sshd_config | ||
9 | ExecReload=/usr/sbin/sshd -t -f ${HOME}/.ssh/sshd_config | ||
10 | ExecReload=/bin/kill -HUP $MAINPID | ||
11 | KillMode=process | ||
12 | Restart=on-failure | ||
13 | RestartPreventExitStatus=255 | ||
14 | Type=notify | ||
15 | |||
16 | [Install] | ||
17 | WantedBy=default.target | ||
18 | #Alias=sshd.service | ||