feat(worker): rename service and package to libretime-worker (#2065)
BREAKING CHANGE: The `libretime-celery` python package and service was renamed to `libretime-worker`. Make sure to remove the old python package and service.
This commit is contained in:
parent
a9cd1fb3df
commit
2edbf15bf4
12 changed files with 35 additions and 21 deletions
|
@ -150,13 +150,13 @@ function checkLiquidsoapService()
|
|||
}
|
||||
|
||||
/**
|
||||
* Check if libretime-celery is currently running.
|
||||
* Check if libretime-worker is currently running.
|
||||
*
|
||||
* @return bool true if libretime-celery is running
|
||||
* @return bool true if libretime-worker is running
|
||||
*/
|
||||
function checkCeleryService()
|
||||
{
|
||||
exec('systemctl is-active libretime-celery --quiet', $out, $status);
|
||||
exec('systemctl is-active libretime-worker --quiet', $out, $status);
|
||||
|
||||
return $status == 0;
|
||||
}
|
||||
|
|
|
@ -243,10 +243,10 @@ $result = $r1 && $r2;
|
|||
<?php
|
||||
} else {
|
||||
?>">
|
||||
<?php echo _('Check that the libretime-celery service is installed correctly in '); ?><code>/etc/systemd/system/</code>,
|
||||
<?php echo _('Check that the libretime-worker service is installed correctly in '); ?><code>/etc/systemd/system/</code>,
|
||||
<?php echo _(" and ensure that it's running with "); ?>
|
||||
<br /><code>systemctl status libretime-celery</code><br />
|
||||
<?php echo _('If not, try '); ?><br /><code>sudo systemctl restart libretime-celery</code>
|
||||
<br /><code>systemctl status libretime-worker</code><br />
|
||||
<?php echo _('If not, try '); ?><br /><code>sudo systemctl restart libretime-worker</code>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -169,10 +169,10 @@ $result = $r1 && $r2;
|
|||
<?php
|
||||
} else {
|
||||
?>">
|
||||
<?php echo _("Check that the libretime-celery service is installed correctly in ") ?><code>/etc/systemd/system/</code>,
|
||||
<?php echo _("Check that the libretime-worker service is installed correctly in ") ?><code>/etc/systemd/system/</code>,
|
||||
<?php echo _(" and ensure that it's running with ") ?>
|
||||
<br /><code>systemctl status libretime-celery</code><br />
|
||||
<?php echo _("If not, try ") ?><br /><code>sudo systemctl restart libretime-celery</code>
|
||||
<br /><code>systemctl status libretime-worker</code><br />
|
||||
<?php echo _("If not, try ") ?><br /><code>sudo systemctl restart libretime-worker</code>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue