projects
/
OpenSRF.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
forcing user opensrf to start the system
[OpenSRF.git]
/
bin
/
opensrf_ctl
diff --git
a/bin/opensrf_ctl
b/bin/opensrf_ctl
index
e3578d7
..
9850277
100755
(executable)
--- a/
bin/opensrf_ctl
+++ b/
bin/opensrf_ctl
@@
-12,7
+12,7
@@
function usage {
function startSystem {
- i=$(whoami) && [ "$i"
== "root" ] && echo "Cannot run as root
. Exiting..." && exit;
+ i=$(whoami) && [ "$i"
!= "opensrf" ] && echo "Must be run as user 'opensrf'
. Exiting..." && exit;
case $1 in