details:   https://code.tryton.org/gentoo-overlay/commit/cf670b377661
branch:    default
user:      Cédric Krier <[email protected]>
date:      Fri Feb 06 15:15:22 2026 +0100
description:
        app-office/trytond: add processes option to cron and worker init
diffstat:

 app-office/trytond/Manifest                    |  4 ++--
 app-office/trytond/files/trytond-cron-init.d-2 |  3 +++
 app-office/trytond/files/trytond-worker-init.d |  3 +++
 3 files changed, 8 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 6224a80a326a -r cf670b377661 app-office/trytond/Manifest
--- a/app-office/trytond/Manifest       Fri Feb 06 15:14:43 2026 +0100
+++ b/app-office/trytond/Manifest       Fri Feb 06 15:15:22 2026 +0100
@@ -1,8 +1,8 @@
 AUX trytond-conf.d-2 183 BLAKE2B 
0be9580db18911823fffc694ca372fccb68d2cc2c1b80f6604f92ef3e94c9e29d94be505631dd9189abf466d5662b4a447977fcea0b522d0dec650d12504374a
 SHA512 
c3d21f8bfb53c6927d1e328baf314af3d71ac79203b62eae890475c3263917507700904b4c9c7029c6f59f399673900e4dc12720ad398797246d00326e125a67
-AUX trytond-cron-init.d-2 824 BLAKE2B 
6084a7c7d1ea12a6dbff3a774598d83761c60281560e6b4d8a057103c3d2aba31c36cebd314f2f10cd76c6ecdd302ab95d18d177739a266a91f4f8a55b642238
 SHA512 
7bbb6b5b9815778b49303186e5b9981539878cdaf5d9a0f10eb5cc5ee9c4afd107b9cbe75e3e0ddf3860c5b165a8b548e722a55a2eda45c08c8254a53f9c3723
+AUX trytond-cron-init.d-2 899 BLAKE2B 
2a52c2144df192c9be4296a37e5a89fb66e78fa1b21164b91bb0f067724972d89de9d3295bb12154eeb0d1999ee22ca287132e8f82f507c00292103f72474318
 SHA512 
ed11eeb680eecd0906866490a4250e9245abb6fa4954487a536467bebf718c3d811e31419e5f211109c3034b5660b1d3cf3397908f524d4c9c3a0e1351e106cd
 AUX trytond-init.d 538 BLAKE2B 
9e1abe67243c8828941f5b981208dc9874d65de52113421b13676026558a3cd95fdfd8f4ad47744c91b8d02c0b25def4bf00334a26f41edbc433fb6c7c9a825f
 SHA512 
a86febe62bb7921b2808b9896e67c7c9b20c3082ee324f1562146550681c64e443e4548fdae6b782f4b84060181331eebf8165d6ef9f37baca3556c2ee69438d
 AUX trytond-init.d-2 799 BLAKE2B 
78dcf251feb3e9f04ba5014359c8da069cc54e14a626f6d9e03306008a30e4e412354c409ad7bb8beb47dfa65e1cc9eb12ab9459ea56f47e2994b25f113297c0
 SHA512 
1c6f1aa4fa8ad1da7e88e2ed5c53646802747c3ea1b4108ec51b400214eb7dd0a586548fa76d864be0087d24c1b9913343cba28339323e7a1a7fa370a8bce1c6
-AUX trytond-worker-init.d 834 BLAKE2B 
a00b85da5266a1e827fb7e3f8672c7218f14e8078fc9237b2f9c99ef14ac783cb3a28302c4ecb4525943fbbc3a3e983715ca730a886dd0aa95f783abe8538963
 SHA512 
4d765e37c95f6d736778a25228417f3aa8755179ecca0af0841a0c3787bd68b43ec66e36753ca3f3ecd295da2fa145dc44597faf3ab9bbec782f4322aec6e5f0
+AUX trytond-worker-init.d 909 BLAKE2B 
8f2a7afcef8c44270737581f36aade8195267b22fadb30c528549b32447cd982192c97c79d03f344e59451932e4c824b77ba6856e0b56e11c2503121b02f2181
 SHA512 
907d040f70fba324c35513e6795007bd3f55786b3541716f4c18920db39e88f3bc53451b63c50e56fe2c9366d2831aa602b83a58bb37dcc9b7780082304d279c
 DIST trytond-7.0.45.tar.gz 981152 BLAKE2B 
eb583f7c99d378e1255de6483c459deb97377f25e72782e6b248585c9aa2fd98d45a78930def638b7917009a5ffc7083386867ed2b14bdd559ef4c447ee2666c
 SHA512 
778da8f9684a694ed983549e418b01bb32c110ea1814c41e95f6bab5c272a20b2645c57a4d867665376115c321c615e054a51c022d9f50bf5330114376394578
 DIST trytond-7.4.25.tar.gz 1035272 BLAKE2B 
88f4e7cb83d4eb3f4b28e61de16d448db18960574423a23c0908a462fda583051a95d31eb5ca8d3d36c32ea794b69bfd83ac22b4126030bcb4448c004a30e842
 SHA512 
3daa2a6479b834344cb567e04f1eeeccec73b7f7016e910660cf16580c08d881c0d48e5a4922ae9042a80f9bedd74472358743356a6d16f7e4803496e2d310f7
 DIST trytond-7.6.16.tar.gz 1054562 BLAKE2B 
7394a812692678baf2f83ac462f9fd59b35ef2e240f16a4bc0c6454942844179b7c9c2ab6a7f3f10375bac4505b550851cd2df948799abf132db59d153b3f7da
 SHA512 
b07594804dfae6939e1957f425904292ca6d0c3a5ac9e6a92ef2e9dfc298421186c0127e9a62aed52cdd2d1c9d336ba52dbb7c219fa852d0878f352533bab597
diff -r 6224a80a326a -r cf670b377661 
app-office/trytond/files/trytond-cron-init.d-2
--- a/app-office/trytond/files/trytond-cron-init.d-2    Fri Feb 06 15:14:43 
2026 +0100
+++ b/app-office/trytond/files/trytond-cron-init.d-2    Fri Feb 06 15:15:22 
2026 +0100
@@ -20,6 +20,9 @@
        if [ -n "${DATABASES}" ]; then
                OPTIONS="${OPTIONS} --database ${DATABASES}"
        fi
+       if [ -n "${PROCESSES}" ]; then
+               OPTIONS="${OPTIONS} -n ${PROCESSES}"
+       fi
        ebegin "Starting trytond-cron"
        checkpath -d -m 0755 -o trytond:trytond `dirname ${PIDFILE}`
        start-stop-daemon --start --quiet --background -u trytond:trytond \
diff -r 6224a80a326a -r cf670b377661 
app-office/trytond/files/trytond-worker-init.d
--- a/app-office/trytond/files/trytond-worker-init.d    Fri Feb 06 15:14:43 
2026 +0100
+++ b/app-office/trytond/files/trytond-worker-init.d    Fri Feb 06 15:15:22 
2026 +0100
@@ -20,6 +20,9 @@
        if [ -n "${DATABASES}" ]; then
                OPTIONS="${OPTIONS} --database ${DATABASES}"
        fi
+       if [ -n "${PROCESSES}" ]; then
+               OPTIONS="${OPTIONS} -n ${PROCESSES}"
+       fi
        ebegin "Starting trytond-worker"
        checkpath -d -m 0755 -o trytond:trytond `dirname ${PIDFILE}`
        start-stop-daemon --start --quiet --background -u trytond:trytond \

Reply via email to