Oracle 12c create manual script for automatic startup on RHEL7
You need to create a system service pointing to start and shutdown shell scripts.

See Automating Database Startup and Shutdown on Linux on Oracle Base.

Another option is to download an Oracle Developer VM and explore how auto start was setup along with a system service (one of the options from the link) – Kumar