• R/O
  • HTTP
  • SSH
  • HTTPS

void-66-services: 提交

66 service frontends for voidlinux


Commit MetaInfo

修订版33e195e2390f0ca3a8089526a4e68d98874942dd (tree)
时间2022-05-01 00:01:05
作者mobinmob <39646700+mobinmob@user...>
CommiterGitHub

Log Message

Merge pull request #173 from mobinmob/tinyssh

New service:tinyssh.

更改概述

差异

--- /dev/null
+++ b/usr/share/66/service/tinysshd
@@ -0,0 +1,15 @@
1+[main]
2+@type = classic
3+@version = 0.0.1
4+@description = "tinyssh daemon"
5+@user = ( root )
6+
7+[start]
8+@execute = (
9+ foreground { tinysshd-makekey -q /etc/tinyssh/sshkeydir }
10+ execl-cmdline -s { s6-tcpserver -v ${ADDRESS} ${SSHPORT} tinysshd ${cmd_args} /etc/tinyssh/sshkeydir } )
11+
12+[environment]
13+cmd_args=! -L -v
14+ADDRESS=0.0.0.0
15+SSHPORT=!22
Show on old repository browser