7

I have a long command line in heroku procfile and want to break it into multiple lines.

Using backslash like below didn't help...

Procfile:

web: java -Dserver.port=$PORT\ 
 -Djavax.net.ssl.keyStoreType=pkcs12\ 
 -Djavax.net.ssl.keyStore=$SOAP_SSL_KEYSTORE_PATH\ 
 -Djavax.net.ssl.keyStorePassword=$SOAP_SSL_KEYSTORE_PASSWORD\ 
 $JAVA_OPTS -jar pwr-mobile-rest-api-jar/target/pwr-mobile-rest-api-jar-runnable.jar

How can I format the procfile for better looking?

1 Answers1

1

It works

echo \
hello world

It doesnt work

echo\
hello world

Put space before backslash and it should work.

Toto
  • 89,455
  • 62
  • 89
  • 125
Konflex
  • 465
  • 3
  • 11