Oracle systemd: differenze tra le versioni
Jump to navigation
Jump to search
(Creata pagina con "<pre> [root@tnbmilgtw02 system]# pwd /usr/local/lib/systemd/system [root@tnbmilgtw02 system]# more oracle_listener.service [Unit] Description="Oracle Listener" After=network....") |
Nessun oggetto della modifica |
||
Riga 1: | Riga 1: | ||
<pre> |
<pre> |
||
[root@ |
[root@host02 system]# pwd |
||
/usr/local/lib/systemd/system |
/usr/local/lib/systemd/system |
||
[root@ |
[root@host02 system]# more oracle_listener.service |
||
[Unit] |
[Unit] |
||
Description="Oracle Listener" |
Description="Oracle Listener" |
||
Riga 12: | Riga 12: | ||
Group=oinstall |
Group=oinstall |
||
Type=forking |
Type=forking |
||
WorkingDirectory=/ |
WorkingDirectory=/app/oracle/product/11.2.0/dbhome_1 |
||
Environment=ORACLE_BASE=/ |
Environment=ORACLE_BASE=/app/oracle ORACLE_HOME=/app/oracle/product/11.2.0/dbhome_1 |
||
Restart=on-failure |
Restart=on-failure |
||
ExecStart=/ |
ExecStart=/app/oracle/product/11.2.0/dbhome_1/bin/lsnrctl start LISTENER |
||
ExecStop=/ |
ExecStop=/app/oracle/product/11.2.0/dbhome_1/bin/lsnrctl stop LISTENER |
||
[Install] |
[Install] |
Versione delle 23:47, 22 mar 2017
[root@host02 system]# pwd /usr/local/lib/systemd/system [root@host02 system]# more oracle_listener.service [Unit] Description="Oracle Listener" After=network.target [Service] User=oracle Group=oinstall Type=forking WorkingDirectory=/app/oracle/product/11.2.0/dbhome_1 Environment=ORACLE_BASE=/app/oracle ORACLE_HOME=/app/oracle/product/11.2.0/dbhome_1 Restart=on-failure ExecStart=/app/oracle/product/11.2.0/dbhome_1/bin/lsnrctl start LISTENER ExecStop=/app/oracle/product/11.2.0/dbhome_1/bin/lsnrctl stop LISTENER [Install] WantedBy=multi-user.target