created file

This commit is contained in:
Eclipse 2023-09-27 21:01:42 +02:00
parent 2c763489b7
commit 46de0f10e4
2 changed files with 58 additions and 0 deletions

13
conf/nginx.conf Normal file
View File

@ -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;
}

45
manifest.toml Normal file
View File

@ -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 = "/"