Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7cf9e0c5
Commit
7cf9e0c5
authored
Aug 01, 2000
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tim's niceness fix in safe_mysqld.sh - also a test to see if mail notification works
scripts/safe_mysqld.sh: Added Tim's niceness fix
parent
039f20b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
scripts/safe_mysqld.sh
scripts/safe_mysqld.sh
+1
-2
No files found.
scripts/safe_mysqld.sh
View file @
7cf9e0c5
...
@@ -88,13 +88,12 @@ fi
...
@@ -88,13 +88,12 @@ fi
NOHUP_NICENESS
=
`
nohup nice
`
NOHUP_NICENESS
=
`
nohup nice
`
if
[
"x
$NOHUP_NICENESS
"
=
"x0"
]
||
!
nice
--1
nice
>
/dev/null 2>&1
;
then
if
test
$?
-ne
0
||
test
x
"
$NOHUP_NICENESS
"
=
x0
||
test
!
nice
--1
echo
foo
>
/dev/null 2>&1
;
then
NOHUP_NICENESS
=
"nohup"
NOHUP_NICENESS
=
"nohup"
else
else
NOHUP_NICENESS
=
"nice --
$NOHUP_NICENESS
nohup"
NOHUP_NICENESS
=
"nice --
$NOHUP_NICENESS
nohup"
fi
fi
export
MYSQL_UNIX_PORT
export
MYSQL_UNIX_PORT
#export MYSQL_TCP_PORT
#export MYSQL_TCP_PORT
touch
$err_log
;
chown
$user
$err_log
touch
$err_log
;
chown
$user
$err_log
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment