summaryrefslogtreecommitdiff
path: root/devobsserver/script/obsservice.sh
blob: 1a3cd9948debf41f1d698553cd9c15fe1b1ccc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
#===============================================================================
# Copyright (c) 2014-2015 Samsung Electronics Co., Ltd.
# Author onstudy@samsung.com
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#===============================================================================
status () {
  echo "---> ${@}" >&2
}

##[program:rcobsrepserver]
/usr/sbin/rcobsrepserver start
status "rcobsrepserver start"
#sleep 1
##[program:rcobssrcserver]
/usr/sbin/rcobssrcserver start
status "rcobssrcserver start"
#sleep 1
##[program:rcobsscheduler]
/usr/sbin/rcobsscheduler start
status "rcobsscheduler start"
#sleep 1
##[program:rcobsdispatcher]
/usr/sbin/rcobsdispatcher start
status "rcobsdispatcher start"
#sleep 1
##[program:rcobspublisher]
/usr/sbin/rcobspublisher start
status "rcobspublisher start"
#sleep 1
##[program:rcobsapidelayed]
/usr/sbin/rcobsapidelayed start
status "rcobsapidelayed start"
#sleep 1
##[program:rcobsservice]
/usr/sbin/rcobsservice start
status "rcobsservice start"
#sleep 1

chown -R wwwrun:www /srv/www/obs/api/log/
chown -R wwwrun:www /srv/www/obs/webui/log/