diff --git a/conf/systemd.service b/conf/systemd.service index b73e479..280be2a 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ -Environment="APP_BASE_URL=https://__DOMAIN__" +Environment="APP_BASE_URL=https://__DOMAIN____PATH__" Environment="APP_PORT=__PORT__" Environment="DB_CLIENT=pg" Environment="POSTGRES_PASSWORD=__DB_PWD__" diff --git a/manifest.toml b/manifest.toml index 8f3ca7a..bbc21ac 100644 --- a/manifest.toml +++ b/manifest.toml @@ -34,6 +34,10 @@ ram.runtime = "50M" [install.domain] type = "domain" + [install.path] + type = "path" + default = "/joplin" + [install.init_main_permission] type = "group" default = "visitors"