From 46de0f10e48c2704ad02e1660e16dda8caee5929 Mon Sep 17 00:00:00 2001 From: Eclipse Date: Wed, 27 Sep 2023 21:01:42 +0200 Subject: [PATCH] created file --- conf/nginx.conf | 13 +++++++++++++ manifest.toml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 conf/nginx.conf create mode 100644 manifest.toml diff --git a/conf/nginx.conf b/conf/nginx.conf new file mode 100644 index 0000000..84e6d8b --- /dev/null +++ b/conf/nginx.conf @@ -0,0 +1,13 @@ +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; +location __PATH__/ { + + # Path to source + alias __INSTALL_DIR__/; + + index index.html; + + try_files $uri /index.html; + + # Include SSOWAT user panel + include conf.d/yunohost_panel.conf.inc; +} diff --git a/manifest.toml b/manifest.toml new file mode 100644 index 0000000..9def2db --- /dev/null +++ b/manifest.toml @@ -0,0 +1,45 @@ +packaging_format = 2 + +id = "restarter" +name = "Restarter for yunohost" +description.en = "A simple service restarter for Yunohost, supporting these apps: MiniDLNA" + +version = "0.2~ynh1" + +maintainers = ["eclipse"] + +[upstream] +license = "GPL-3.0" +code = "https://git.unterdemradar.de/eclipse/restarter_ynh" + +[integration] +yunohost = ">= 11.1" +architectures = "all" +multi_instance = true +ldap = "not_relevant" +sso = "not_relevant" +disk = "1M" +ram.build = "1M" +ram.runtime = "1M" + +[install] + [install.domain] + # this is a generic question - ask strings are automatically handled by Yunohost's core + type = "domain" + + [install.path] + # this is a generic question - ask strings are automatically handled by Yunohost's core + type = "path" + default = "/restarter" + + [install.init_main_permission] + type = "group" + default = "visitors" + +[resources] + [resources.install_dir] + owner = "www-data:rwx" + group = "www-data:rx" + + [resources.permissions] + main.url = "/"