For now, just prompt users to start background services at the end of the install process
This commit is contained in:
parent
bf1355a203
commit
0fcac545e6
8 changed files with 12 additions and 21 deletions
|
@ -5,8 +5,13 @@
|
|||
<h3 class="form-title">Setup Complete!</h3>
|
||||
<span id="helpBlock" class="help-block help-message"></span>
|
||||
<p>
|
||||
Looks like you're almost done! Click "Done!" to bring up the Airtime configuration checklist; if
|
||||
your configuration is all green, you're ready to get started with your personal Airtime station!
|
||||
Looks like you're almost done! As a final step, run the following commands from the terminal:<br/>
|
||||
<code>sudo service airtime-playout start</code>, <code>sudo service airtime-liquidsoap start</code>,
|
||||
<code>sudo service airtime-media-monitor start</code>.
|
||||
</p>
|
||||
<p>
|
||||
Click "Done!" to bring up the Airtime configuration checklist; if your configuration is all green,
|
||||
you're ready to get started with your personal Airtime station!
|
||||
</p>
|
||||
<div>
|
||||
<input type="submit" formtarget="finishSettingsForm" class="btn btn-primary btn-next" value="Done!"/>
|
||||
|
|
|
@ -29,11 +29,6 @@ class FinishSetup extends Setup {
|
|||
$errors[] = "ERR";
|
||||
}
|
||||
|
||||
if (empty($errors)) {
|
||||
// Write service configurations for pypo and media-monitor
|
||||
$this->startServices();
|
||||
}
|
||||
|
||||
return array(
|
||||
"message" => $message,
|
||||
"errors" => $errors,
|
||||
|
@ -49,10 +44,4 @@ class FinishSetup extends Setup {
|
|||
&& unlink(AIRTIME_CONF_TEMP_PATH);
|
||||
}
|
||||
|
||||
function startServices() {
|
||||
exec("service airtime-media-monitor start");
|
||||
exec("service airtime-playout start");
|
||||
exec("service airtime-liquidsoap start");
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue