deploying-tos.rst (1629B)
1 .. 2 This file is part of GNU TALER. 3 Copyright (C) 2014-2024 Taler Systems SA 4 5 TALER is free software; you can redistribute it and/or modify it under the 6 terms of the GNU Affero General Public License as published by the Free Software 7 Foundation; either version 2.1, or (at your option) any later version. 8 9 TALER is distributed in the hope that it will be useful, but WITHOUT ANY 10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. 12 13 You should have received a copy of the GNU Affero General Public License along with 14 TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 16 17 Configuring exchange terms 18 ========================== 19 20 You can use your own terms of service and privacy policy. You can use the default templates in ``/usr/share/taler/terms`` as a guide. 21 Assuming you have custom terms of service and privacy policy ``rst`` teamplte files at ``TOS_PATH`` and ``PRIVACY_PATH``, the following commands generate the terms files: 22 23 .. code-block:: console 24 25 # taler-terms-generator -i "$TOS_PATH" 26 # taler-terms-generator -i "$PRIVACY_PATH" 27 28 You now have to specify the terms file names in the exchange config: 29 30 .. code-block:: console 31 32 # TERMS_ETAG="$(basename "$TOS_PATH" .rst)" 33 # PRIVACY_ETAG="$(basename "$PRIVACY_PATH" .rst)" 34 35 .. code-block:: ini 36 37 [exchange] 38 TERMS_ETAG=${TERMS_ETAG} 39 PRIVACY_ETAG=${PRIVACY_ETAG} 40 41 Make sure to restart taler-exchange after changing these configuration options: 42 43 .. code-block:: console 44 45 # systemctl restart taler-exchange.target