Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Auto Start Script Run Issue
Jamie Sammons, modificat fa 1 any.
New Member
Apunts: 4
Data d'incorporació: 19/12/24
Publicacions recents
Hi Team,
We have written a script to automatically start the web service.
Before starting, we need to provide the SSL passphrase. However, due
to certain restrictions, we are unable to install the
expect
library on our Linux system. Is there an alternative method
to pass the SSL passphrase? Please find the script below.
# Use `expect` to handle the SSL passphrase prompt
/usr/bin/expect <<EOF
sudo service httpd start
expect
"Please Enter SSL passphrase:"
send
"$passphrase\r"
expect eof
EOF
Thank you,
Vishal S Karjinni
Community
Company
Feedback