ファイル名:/usr/lib/systemd/system/oracledb.service
——————————————————————————————————
[Unit]
Description=The Oracle Database Service
After=network.target
[Service]
Type=forking
RemainAfterExit=yes
KillMode=none
TimeoutStopSec=5min
User=oracle
Group=oinstall
ExecStart=/u01/app/oracle/product/19.0.0.0/dbhome_1/bin/dbstart /u01/app/oracle/product/19.0.0.0/dbhome_1
ExecStop=/u01/app/oracle/product/19.0.0.0/dbhome_1/bin/dbshut /u01/app/oracle/product/19.0.0.0/dbhome_1
Restart=no
[Install]
WantedBy=default.target
————————————————————————————————————
・RedHat – systemd のユニットファイルの作成および変更
・archlinux – systemctl の基本的な使い方
#oracle.service
#unit
#systemctl
#service