⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
openQA Project
All Projects
QA
»
openQA Project
Overview
Activity
Roadmap
Issues
Wiki
Download (781 Bytes)
action #28406
ยป run_openqa.sh
binary_sequence
, 2017-11-25 19:19
#!/bin/bash
export
DBUS_STARTER_BUS_TYPE
=
system
# prepare environment
rm
-f
/run/dbus/pid
if
[
!
-f
/data/db/db.sqlite
]
;
then
/usr/share/openqa/script/initdb
--user
geekotest
--init_database
else
/usr/share/openqa/script/upgradedb
--user
geekotest
--upgrade_database
fi
# run services
dbus-daemon
--system
--fork
start_daemon
-u
geekotest /usr/share/openqa/script/openqa-resource-allocator &
start_daemon /usr/sbin/rsyncd
--daemon
--no-detach
&
start_daemon
-u
geekotest /usr/share/openqa/script/openqa-scheduler &
start_daemon
-u
geekotest /usr/share/openqa/script/openqa-websockets &
start_daemon
-u
geekotest /usr/share/openqa/script/openqa gru
-m
production run &
apache2ctl start
start_daemon
-u
geekotest /usr/share/openqa/script/openqa prefork
-m
production
--proxy
(1-1/1)
Loading...