Skip to content
Snippets Groups Projects
Commit f6a816b4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix shm_load script

parent dc7d8c8a
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
### BEGIN INIT INFO
# Provides: shm_load
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2
# Default-Stop:
# Short-Description: Mount FS for Oracle
### END INIT INFO
case "$1" in
start) mkdir -p /var/lock/subsys
touch /var/lock/subsys/listener
......
......@@ -63,12 +63,15 @@
command: mount -t tmpfs shmfs -o size=2048m /dev/shm
- name: Oracle | copy shm load file
copy: src=etc_rc2_d_S01shm_load
dest=/etc/rc2.d/S01shm_load
copy: src=etc_init_d_shm_load
dest=/etc/init.d/shm_load
owner=root
group=root
mode=755
- name: Oracle | add shm load file to bootlist
command: update-rc.d shm_load defaults
- name: Oracle | unpack oracle
command: dpkg --install /opt/oracle-xe_11.2.0-2_amd64.deb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment