Home Reading a file that will be created in future when deploying to heroku
Reply: 0

Reading a file that will be created in future when deploying to heroku

user481
1#
user481 Published in August 15, 2018, 11:16 am

I have deployed a jar on heroku that opens a connection to a random port. When this jar is opened, it creates a config.txt file and keeps receiving request. This config.txt file has a randomly generated username and password.

The whole jar is executed using a shell script file. This file is called by heroku Procfile.

How do i tell shell script to read the content of config.txt file. This config.txt file will be automatially created by the jar.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.302129 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO