File tree Expand file tree Collapse file tree 5 files changed +20
-22
lines changed Expand file tree Collapse file tree 5 files changed +20
-22
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
2
2
3
3
PKG_NAME: =syncthing
4
4
PKG_VERSION: =1.30.0
5
- PKG_RELEASE: =1
5
+ PKG_RELEASE: =2
6
6
7
7
PKG_SOURCE: =syncthing-source-v$(PKG_VERSION ) .tar.gz
8
8
PKG_SOURCE_URL: =https://github.com/syncthing/syncthing/releases/download/v$(PKG_VERSION )
Original file line number Diff line number Diff line change @@ -4,15 +4,14 @@ config stdiscosrv 'stdiscosrv'
4
4
option listen ':8443'
5
5
option db_dir '/etc/stdiscosrv/discovery.db'
6
6
7
- # # Find the documents from: https://docs.syncthing.net/users/stdiscosrv.html
7
+ # Find the documents from: https://docs.syncthing.net/users/stdiscosrv.html
8
8
# option cert '/etc/stdiscosrv/cert.pem'
9
9
# option key '/etc/stdiscosrv/key.pem'
10
+ # option db_flush_interval '5m'
10
11
# option metrics_listen ''
11
- # option replicate ''
12
- # option replication_listen ':19200'
13
12
14
- # # CLI options with no value should be defined as booleans and theirs
15
- # # names should be prefixed with '_'.
13
+ # CLI options with no value should be defined as booleans and theirs names
14
+ # should be prefixed with '_'.
15
+ # option _compression '0'
16
16
# option _debug '0'
17
17
# option _http '1'
18
-
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ config_cb() {
21
21
[ " $value " = " 0" ] || extra_args=" $extra_args -${option// _/ -} "
22
22
;;
23
23
* )
24
- extra_args=" $extra_args -${option// _/ -} =$value "
24
+ extra_args=" $extra_args -- ${option// _/ -} =' $value ' "
25
25
;;
26
26
esac
27
27
}
@@ -33,8 +33,7 @@ config_cb() {
33
33
}
34
34
}
35
35
36
- service_triggers ()
37
- {
36
+ service_triggers () {
38
37
procd_add_reload_trigger " stdiscosrv"
39
38
}
40
39
Original file line number Diff line number Diff line change @@ -4,23 +4,24 @@ config strelaysrv 'strelaysrv'
4
4
option keys '/etc/strelaysrv'
5
5
option listen ':22067'
6
6
7
- # # Find the documents from: https://docs.syncthing.net/users/strelaysrv.html
7
+ # Find the documents from: https://docs.syncthing.net/users/strelaysrv.html
8
8
# option ext_address ''
9
9
# option global_rate ''
10
10
# option message_timeout '1m0s'
11
- # option nat_lease 60
12
- # option nat_renewal 30
13
- # option nat_timeout 10
11
+ # option nat_lease '60'
12
+ # option nat_renewal '30'
13
+ # option nat_timeout '10'
14
14
# option network_timeout '2m0s'
15
15
# option per_session_rate ''
16
16
# option ping_interval '1m0s'
17
17
# option pools ''
18
18
# option protocol 'tcp'
19
19
# option provided_by ''
20
20
# option status_srv ':22070'
21
+ # option token ''
21
22
22
- # # CLI options with no value should be defined as booleans and theirs
23
- # # names should be prefixed with '_'.
23
+ # CLI options with no value should be defined as booleans and theirs names
24
+ # should be prefixed with '_'.
24
25
# option _debug '0'
25
26
# option _nat '0'
26
-
27
+ # option _pprof '0'
Original file line number Diff line number Diff line change @@ -18,23 +18,22 @@ config_cb() {
18
18
eval $option =$value
19
19
;;
20
20
_* )
21
- [ " $value " = " 0" ] || extra_args=" $extra_args - ${option// _/ -} "
21
+ [ " $value " = " 0" ] || extra_args=" $extra_args ${option// _/ -} "
22
22
;;
23
23
* )
24
- extra_args=" $extra_args -${option// _/ -} =$value "
24
+ extra_args=" $extra_args -${option// _/ -} =' $value ' "
25
25
;;
26
26
esac
27
27
}
28
28
29
29
list_cb () {
30
30
local name=" $1 "
31
31
local value=" $2 "
32
- [ " $name " = " _" ] && extra_args=" $extra_args -- ${value// _/ -} " || return 0
32
+ [ " $name " = " _" ] && extra_args=" $extra_args -${value// _/ -} " || return 0
33
33
}
34
34
}
35
35
36
- service_triggers ()
37
- {
36
+ service_triggers () {
38
37
procd_add_reload_trigger " strelaysrv"
39
38
}
40
39
You can’t perform that action at this time.
0 commit comments