diff --git a/selfprivacy_api/services/bitwarden/__init__.py b/selfprivacy_api/services/bitwarden/__init__.py index 53c7649..4614c15 100644 --- a/selfprivacy_api/services/bitwarden/__init__.py +++ b/selfprivacy_api/services/bitwarden/__init__.py @@ -103,14 +103,6 @@ class Bitwarden(Service): def restart(): subprocess.run(["systemctl", "restart", "vaultwarden.service"]) - @classmethod - def get_configuration(cls): - return {} - - @classmethod - def set_configuration(cls, config_items): - return super().set_configuration(config_items) - @staticmethod def get_logs(): return "" diff --git a/selfprivacy_api/services/jitsimeet/__init__.py b/selfprivacy_api/services/jitsimeet/__init__.py index 81fd5ac..0bf0370 100644 --- a/selfprivacy_api/services/jitsimeet/__init__.py +++ b/selfprivacy_api/services/jitsimeet/__init__.py @@ -97,14 +97,6 @@ class JitsiMeet(Service): ) subprocess.run(["systemctl", "restart", "jicofo.service"], check=False) - @classmethod - def get_configuration(cls): - return {} - - @classmethod - def set_configuration(cls, config_items): - return super().set_configuration(config_items) - @staticmethod def get_logs(): return "" diff --git a/selfprivacy_api/services/mailserver/__init__.py b/selfprivacy_api/services/mailserver/__init__.py index f66d85f..d5dd481 100644 --- a/selfprivacy_api/services/mailserver/__init__.py +++ b/selfprivacy_api/services/mailserver/__init__.py @@ -89,14 +89,6 @@ class MailServer(Service): subprocess.run(["systemctl", "restart", "dovecot2.service"], check=False) subprocess.run(["systemctl", "restart", "postfix.service"], check=False) - @classmethod - def get_configuration(cls): - return {} - - @classmethod - def set_configuration(cls, config_items): - return super().set_configuration(config_items) - @staticmethod def get_logs(): return "" diff --git a/selfprivacy_api/services/nextcloud/__init__.py b/selfprivacy_api/services/nextcloud/__init__.py index ec1546d..4cd0156 100644 --- a/selfprivacy_api/services/nextcloud/__init__.py +++ b/selfprivacy_api/services/nextcloud/__init__.py @@ -87,15 +87,6 @@ class Nextcloud(Service): """Restart Nextcloud service.""" subprocess.Popen(["systemctl", "restart", "phpfpm-nextcloud.service"]) - @classmethod - def get_configuration(cls) -> dict: - """Return Nextcloud configuration.""" - return {} - - @classmethod - def set_configuration(cls, config_items): - return super().set_configuration(config_items) - @staticmethod def get_logs(): """Return Nextcloud logs.""" diff --git a/selfprivacy_api/services/roundcube/__init__.py b/selfprivacy_api/services/roundcube/__init__.py index fac8d2d..4d48e8b 100644 --- a/selfprivacy_api/services/roundcube/__init__.py +++ b/selfprivacy_api/services/roundcube/__init__.py @@ -92,14 +92,6 @@ class Roundcube(Service): check=False, ) - @staticmethod - def get_configuration(): - return {} - - @staticmethod - def set_configuration(config_items): - return super().set_configuration(config_items) - @staticmethod def get_logs(): return ""