How to allow a custom service script in RHEL7 to run in the foreground and accept user input

NoSuchKey