diff --git a/actions/pagekite b/actions/pagekite index 34bbaadaa..3891802d7 100755 --- a/actions/pagekite +++ b/actions/pagekite @@ -223,10 +223,10 @@ def subcommand_add_service(arguments): root = get_new_service_path(params['protocol']) # TODO: after adding a service, augeas fails writing the config; - # so do it manually here + # so add the service_on entry manually instead path = convert_augeas_path_to_filepath(root) with open(path, 'a') as servicefile: - line = "service_on = %s" % deconstruct_params(params) + line = "\nservice_on = %s\n" % deconstruct_params(params) servicefile.write(line) diff --git a/plinth/modules/pagekite/templates/pagekite_custom_services.html b/plinth/modules/pagekite/templates/pagekite_custom_services.html index d865d9d40..ee0ff9ca3 100644 --- a/plinth/modules/pagekite/templates/pagekite_custom_services.html +++ b/plinth/modules/pagekite/templates/pagekite_custom_services.html @@ -20,7 +20,7 @@ {% load bootstrap %} -{% load plinth_extras %} +{% load pagekite_extras %} {% block page_head %}