mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
community/syncthing: improve init scripts
- Timestamps are not required in the output, they are already available in the system log. - The user script needs a supervisor to work properly. (Or needs to run in the background.)
This commit is contained in:
parent
5fda8755ed
commit
012be2a118
@ -4,7 +4,7 @@
|
||||
# Maintainer: Sertonix <sertonix@posteo.net>
|
||||
pkgname=syncthing
|
||||
pkgver=2.0.13
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Open Source Continuous File Synchronization"
|
||||
url="https://syncthing.net/"
|
||||
arch="all"
|
||||
@ -93,7 +93,7 @@ utils() {
|
||||
sha512sums="
|
||||
c08591e0285fa3ef28f75c6c540e71b162e33312863ab40b2e47faaa3f99b1f439cda11b30aca31780efdcf55a9c4f026ee31bd867a2b894cd1519b15d895f1b syncthing-2.0.13.tar.gz
|
||||
81bcb6b2e0956624b596201d1de24a3b6fcb10d08761f2c426081350b611295a7f4d47775d175f2ee5dbbb289b98bc022389fc9992f0d31bcdbfde855ceafaf8 only-test-with-race-when-provided.patch
|
||||
17da9c6e03efa3b43a4b46bfb85a7a63d393bbe5a8f431e4e6d86a6dcde6dbe0c536d7b29c007a1a5207534519dc87183f6f91e5596ea5e645cd702e4e2478b4 syncthing.initd
|
||||
5981345542ebbe91f069c8dbdaf197b9b5886d42e4c91618b0a0473e0fce08dff7365dbbfaf23778e6fc49db376128d8c434893b39424701b0c56b080fc3e7bd syncthing-user.initd
|
||||
c53e897982d19b218166a0e4977e50b493478640a50165ecc1c3fc2361a01ad92d15d5f5fc1899ef86b8ec53ec7dde9aab9663e5a54b645d0eeabefa382608f1 syncthing.initd
|
||||
e63189dfa1cc091b75d0fe03c766dfb8ffc66a882fa630b808e612454f18cb29c94805448264e28f0699cc693b24b54480685bef182a206082937580cafefefb syncthing-user.initd
|
||||
938c1a17a2c3448638270e1a84fac7848ed7e5bbc913404ef3f5ac3a0c285fbb57e0b851af8c69e207a679c8e35e673ab2fa8882642650ecda9af9a98de0b010 syncthing.nft
|
||||
"
|
||||
|
||||
@ -2,5 +2,6 @@
|
||||
|
||||
name=$RC_SVCNAME
|
||||
command=/usr/bin/syncthing
|
||||
: "${command_args:=--no-browser --no-restart}"
|
||||
supervisor=supervise-daemon
|
||||
: "${command_args:=--no-browser --no-restart --log-format-timestamp=''}"
|
||||
output_logger="logger -t '${RC_SVCNAME}' -p daemon.info"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
name=$RC_SVCNAME
|
||||
supervisor=supervise-daemon
|
||||
command=/usr/bin/syncthing
|
||||
command_args="${SYNCTHING_ARGS:---no-browser --no-restart}"
|
||||
command_args="${SYNCTHING_ARGS:---no-browser --no-restart --log-format-timestamp=''}"
|
||||
command_user="${SYNCTHING_USER:-syncthing}"
|
||||
output_logger="logger -t '${RC_SVCNAME}' -p daemon.info"
|
||||
error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user