Reflect GNU Health Trytond update to 4.2.8
This commit is contained in:
parent
00c409bf41
commit
fb6593d1c3
@ -52,7 +52,7 @@ envsubst <${SOURCE_DIR}/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.con
|
||||
# Populate database
|
||||
export GNUHEALTH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
||||
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
|
||||
|
||||
# Populate demo database
|
||||
|
@ -7,10 +7,10 @@ Type=simple
|
||||
User=gnuhealth
|
||||
Environment=TRYTOND_CONFIG=/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.conf
|
||||
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
|
||||
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]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user