Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clean shmems/queues/semaphores for sybase user #1213

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions heartbeat/sybaseASE.in
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,11 @@ ase_start()
then
rm -f $CONSOLE_LOG
fi

ocf_log debug "Clean shmems/semaphores/queues for '$OCF_RESKEY_sybase_user'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use the same indentation as in the rest of the code.

su $OCF_RESKEY_sybase_user -c ksh << EOF
ipcrm -a
EOF

ocf_log debug "sybaseASE: Starting '$OCF_RESKEY_server_name'..."

Expand Down