First WIP of rework to lighttpd
This commit is contained in:
20
sshd/sshd.service
Normal file
20
sshd/sshd.service
Normal file
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=OpenBSD Secure Shell server
|
||||
Documentation=man:sshd(8) man:sshd_config(5)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/opt/usr/sbin/sshd -t
|
||||
ExecStart=/opt/usr/sbin/sshd -D
|
||||
ExecReload=/opt/usr/sbin/sshd -t
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
RestartPreventExitStatus=255
|
||||
Type=notify
|
||||
RuntimeDirectory=sshd
|
||||
RuntimeDirectoryMode=0755
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=sshd.service
|
||||
Reference in New Issue
Block a user