Reflect GNU Health Trytond update to 4.2.8

This commit is contained in:
Disassembler 2017-12-08 12:10:41 +01:00
parent 00c409bf41
commit fb6593d1c3
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ envsubst <${SOURCE_DIR}/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.con
# Populate database # Populate database
export GNUHEALTH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64) export GNUHEALTH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
echo ${GNUHEALTH_ADMIN_PWD} >/srv/gnuhealth/.adminpwd echo ${GNUHEALTH_ADMIN_PWD} >/srv/gnuhealth/.adminpwd
sudo -u gnuhealth -i TRYTONPASSFILE=/srv/gnuhealth/.adminpwd /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.7/bin/trytond-admin -d gnuhealth --all -v sudo -u gnuhealth -i TRYTONPASSFILE=/srv/gnuhealth/.adminpwd /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.8/bin/trytond-admin -d gnuhealth --all -v
rm -f /srv/gnuhealth/.adminpwd rm -f /srv/gnuhealth/.adminpwd
# Populate demo database # Populate demo database

View File

@ -7,10 +7,10 @@ Type=simple
User=gnuhealth User=gnuhealth
Environment=TRYTOND_CONFIG=/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.conf Environment=TRYTOND_CONFIG=/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.conf
Environment=VIRTUAL_ENV=/srv/gnuhealth Environment=VIRTUAL_ENV=/srv/gnuhealth
Environment=PYTHONPATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.7:/srv/gnuhealth/gnuhealth/tryton/server/config Environment=PYTHONPATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.8:/srv/gnuhealth/gnuhealth/tryton/server/config
Environment=PATH=/srv/gnuhealth/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games Environment=PATH=/srv/gnuhealth/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
WorkingDirectory=/srv/gnuhealth WorkingDirectory=/srv/gnuhealth
ExecStart=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.7/bin/trytond ExecStart=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.8/bin/trytond
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target