fix typo
This commit is contained in:
@@ -30,7 +30,7 @@ INSTANCE=%{instance_path}
|
|||||||
*/30 * * * * root $PYTHON $INSTANCE/manage.py modo check_mx
|
*/30 * * * * root $PYTHON $INSTANCE/manage.py modo check_mx
|
||||||
|
|
||||||
# Public API communication
|
# Public API communication
|
||||||
%{minute} %{hours} * * * root $PYTHON $INSTANCE/manage.py communicate_with_public_api
|
%{minutes} %{hours} * * * root $PYTHON $INSTANCE/manage.py communicate_with_public_api
|
||||||
|
|
||||||
# Generate DKIM keys (they will belong to the user running this job)
|
# Generate DKIM keys (they will belong to the user running this job)
|
||||||
%{opendkim_enabled}* * * * * %{opendkim_user} umask 077 && $PYTHON $INSTANCE/manage.py modo manage_dkim_keys
|
%{opendkim_enabled}* * * * * %{opendkim_user} umask 077 && $PYTHON $INSTANCE/manage.py modo manage_dkim_keys
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ class Modoboa(base.Installer):
|
|||||||
"radicale_enabled": (
|
"radicale_enabled": (
|
||||||
"" if "modoboa-radicale" in extensions else "#"),
|
"" if "modoboa-radicale" in extensions else "#"),
|
||||||
"opendkim_user": self.config.get("opendkim", "user"),
|
"opendkim_user": self.config.get("opendkim", "user"),
|
||||||
"minute": random.randint(1, 59),
|
"minutes": random.randint(1, 59),
|
||||||
"hours" : f"{random_hour},{random_hour+12}"
|
"hours" : f"{random_hour},{random_hour+12}"
|
||||||
})
|
})
|
||||||
return context
|
return context
|
||||||
|
|||||||
Reference in New Issue
Block a user