diff options
Diffstat (limited to 'utils/rtty/files/rtty.init')
| -rw-r--r-- | utils/rtty/files/rtty.init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/rtty/files/rtty.init b/utils/rtty/files/rtty.init index f18497af8..55a131053 100644 --- a/utils/rtty/files/rtty.init +++ b/utils/rtty/files/rtty.init @@ -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 } |
