Fix pin var
All checks were successful
perso/huawei-3G-SMS-API/master This commit looks good

This commit is contained in:
Julien Cabillot 2019-08-06 11:52:30 -04:00
parent b1f334cb01
commit 6821e6f78d
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ pin = os.environ['PIN']
PIN_ENTER_TEMPLATE = '''<request>
<OperateType>0</OperateType>
<CurrentPin>''' + PIN + '''</CurrentPin>
<CurrentPin>''' + pin + '''</CurrentPin>
<NewPin></NewPin>
<PukCode></PukCode>
</request>'''

View File

@ -6,6 +6,7 @@ services:
container_name: "huawei-3g-sms-api"
restart: "unless-stopped"
mem_limit: "256m"
# Warning: may not work on ARM (ie: odroid n2)
cpus: 0.3
cpu_shares: 1024
pids_limit: 200