Created
November 7, 2017 15:47
-
-
Save 64lines/3e05d7914b64682f69c9e54acb4573d1 to your computer and use it in GitHub Desktop.
oracle-rdbms.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/oracle-rdbms.service | |
| # Ivan Kartik http://ivan.kartik.sk | |
| # Invoking Oracle scripts to start/shutdown Instances defined in /etc/oratab | |
| # and starts Listener | |
| [Unit] | |
| Description=Oracle Database(s) and Listener | |
| Requires=network.target | |
| [Service] | |
| Type=forking | |
| Restart=no | |
| ExecStart=/u01/app/oracle/product/12/db_1/bin/dbstart /u01/app/oracle/product/12/db_1 | |
| ExecStop=/u01/app/oracle/product/12/db_1/bin/dbshut /u01/app/oracle/product/12/db_1 | |
| User=oracle | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment