mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
service: Remove reference to managed_services in a message
Closes: #2337. Tests: - Update code to stop/start a daemon that is not listed in any Daemon/RelatedDaemon component of an app. Notice the message show. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
8b7c0fb0bf
commit
c8a8d4bf33
1 file changed
+2
-2
@@ -113,6 +113,6 @@ def _assert_service_is_managed_by_plinth(service_name):
|
||||
managed_services = _get_managed_services()
|
||||
if service_name not in managed_services:
|
||||
msg = ("The service '%s' is not managed by FreedomBox. Access is only "
|
||||
"permitted for services listed in the 'managed_services' "
|
||||
"variable of any FreedomBox app.") % service_name
|
||||
"permitted for services listed in the Daemon and RelatedDaemon "
|
||||
"components of any FreedomBox app.") % service_name
|
||||
raise ValueError(msg)
|
||||
Reference in new issue
Block a user