Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d4e6ae28
Commit
d4e6ae28
authored
Apr 12, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue in rpm init.d script
parent
a60bf642
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
packaging/rpm/init.d/grafana-server
+6
-2
No files found.
packaging/rpm/init.d/grafana-server
View file @
d4e6ae28
...
...
@@ -82,13 +82,14 @@ case "$1" in
# Start Daemon
cd
$GRAFANA_HOME
su
-s
/bin/sh
-c
"nohup
${
DAEMON
}
${
DAEMON_OPTS
}
>> /dev/null 3>&1 &"
$
DAEMON
_USER
su
-s
/bin/sh
-c
"nohup
${
DAEMON
}
${
DAEMON_OPTS
}
>> /dev/null 3>&1 &"
$
GRAFANA
_USER
return
=
$?
if
[
$return
-eq
0
]
then
sleep 1
# check if pid file has been written two
if
!
[[
-s
$PID_FILE
]]
;
then
echo
"FAILED"
exit
3
fi
i
=
0
...
...
@@ -98,7 +99,10 @@ case "$1" in
do
sleep 1
i
=
$((
$i
+
1
))
[
$i
-gt
$timeout
]
&&
exit
4
if
[
$i
-gt
$timeout
]
;
then
echo
"FAILED"
exit
4
fi
done
fi
...
...
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