rtty: update to 6.6.1

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
Jianhui Zhao
2019-04-25 11:01:28 +08:00
parent 0f21b03a46
commit 49984c2e22
3 changed files with 7 additions and 4 deletions
+3 -1
View File
@@ -13,7 +13,8 @@ validate_rtty_section() {
'host:host' \
'port:port' \
'ssl:bool:0' \
'keepalive:uinteger:5'
'keepalive:uinteger:5' \
'token:maxlength(32)'
}
start_rtty() {
@@ -49,6 +50,7 @@ start_rtty() {
[ -n "$id" ] && procd_append_param command -I "$id"
[ -n "$description" ] && procd_append_param command -d "$description"
[ "$ssl" = "1" ] && procd_append_param command -s
[ -n "$token" ] && procd_append_param command -t "$token"
procd_set_param respawn
procd_close_instance
}