diff --git a/plinth/modules/wordpress/__init__.py b/plinth/modules/wordpress/__init__.py index f584e21b3..668e2c9c9 100644 --- a/plinth/modules/wordpress/__init__.py +++ b/plinth/modules/wordpress/__init__.py @@ -6,7 +6,7 @@ from django.utils.translation import gettext_lazy as _ from plinth import app as app_module from plinth import cfg, frontpage, menu from plinth.config import DropinConfigs -from plinth.daemon import Daemon +from plinth.daemon import Daemon, SharedDaemon from plinth.modules.apache.components import Webserver from plinth.modules.backups.components import BackupRestore from plinth.modules.firewall.components import Firewall @@ -106,6 +106,9 @@ class WordPressApp(app_module.App): daemon = Daemon('daemon-wordpress', 'wordpress-freedombox.timer') self.add(daemon) + daemon = SharedDaemon('shared-daemon-wordpress-mysql', 'mysql') + self.add(daemon) + backup_restore = WordPressBackupRestore('backup-restore-wordpress', **manifest.backup) self.add(backup_restore)