git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4829cca
)
avoid using rpm
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 22 Jan 2013 07:12:48 +0000
(08:12 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 22 Jan 2013 07:12:48 +0000
(08:12 +0100)
init.d/sfa
patch
|
blob
|
history
diff --git
a/init.d/sfa
b/init.d/sfa
index
d5b0bb4
..
45b6981
100755
(executable)
--- a/
init.d/sfa
+++ b/
init.d/sfa
@@
-244,7
+244,7
@@
function db_start () {
######## Start up the server
# not too nice, but.. when co-located with myplc we'll let it start/stop postgresql
- if
! rpm -q myplc >& /dev/null
; then
+ if
[ ! -f /etc/myplc-release ]
; then
echo STARTING...
service postgresql start >& /dev/null
fi