diff options
| author | Luke Hoersten <[email protected]> | 2020-02-09 12:05:37 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-02-09 12:05:37 -0600 |
| commit | 1cb30cc0aa4fda9bf0bac0b41ace862b1db434b8 (patch) | |
| tree | e4b27462ba4b8b249bb5eaac4b4be0006ca0392c /writefreely/templates | |
| parent | 195a4a3fcf65bf47ecb1a0ea2a9fb070c18eb20f (diff) | |
Moved roles to top level
Diffstat (limited to 'writefreely/templates')
| -rw-r--r-- | writefreely/templates/config.ini.j2 | 44 | ||||
| -rw-r--r-- | writefreely/templates/writefreely.service.j2 | 11 |
2 files changed, 55 insertions, 0 deletions
diff --git a/writefreely/templates/config.ini.j2 b/writefreely/templates/config.ini.j2 new file mode 100644 index 0000000..59eb224 --- /dev/null +++ b/writefreely/templates/config.ini.j2 @@ -0,0 +1,44 @@ +[server] +hidden_host = +port = {{writefreely_server_port}} +bind = localhost +tls_cert_path = +tls_key_path = +autocert = true +templates_parent_dir = +static_parent_dir = +pages_parent_dir = +keys_parent_dir = + +[database] +type = sqlite3 +filename = {{writefreely_db_name}}.db +username = +password = +database = +host = localhost +port = 3306 + +[app] +site_name = {{writefreely_site_name}} +site_description = {{writefreely_site_desc}} +host = {{writefreely_site_host}} +theme = write +editor = +disable_js = false +webfonts = true +landing = +simple_nav = false +wf_modesty = false +chorus = false +disable_drafts = false +single_user = true +open_registration = false +min_username_len = 3 +max_blogs = 1 +federation = true +public_stats = true +private = false +local_timeline = false +user_invites = +default_visibility = diff --git a/writefreely/templates/writefreely.service.j2 b/writefreely/templates/writefreely.service.j2 new file mode 100644 index 0000000..0515872 --- /dev/null +++ b/writefreely/templates/writefreely.service.j2 @@ -0,0 +1,11 @@ +[Unit] +Description=WriteFreely %I Instance +After=syslog.target network.target + +[Service] +WorkingDirectory=/run/writefreely/%i +ExecStart=/usr/local/bin/writefreely -c /etc/writefreely/%i.conf +Restart=always + +[Install] +WantedBy=multi-user.target |
