diff --git a/conf/systemd.service b/conf/systemd.service index ae0bb93..7e87245 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -4,11 +4,11 @@ After=network.target postgresql.service redis-server.service [Service] Type=simple +User=__APP__ +Group=__APP__ Environment=NODE_ENV=production Environment=NODE_CONFIG_DIR=__INSTALL_DIR__/config Environment="__YNH_NODE_LOAD_PATH__" -User=__APP__ -Group=__APP__ ExecStart=__YNH_NODE__ __INSTALL_DIR__/dist/server WorkingDirectory=__INSTALL_DIR__/ StandardOutput=syslog diff --git a/manifest.toml b/manifest.toml index cee3f43..a0cb003 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,7 +17,7 @@ admindoc = "https://docs.joinpeertube.org" code = "https://github.com/Chocobozzz/PeerTube" [integration] -yunohost = ">= 11.1.21" +yunohost = ">= 11.2" architectures = "all" multi_instance = false ldap = true @@ -29,7 +29,6 @@ ram.runtime = "50M" [install] [install.domain] type = "domain" - full_domain = true [install.init_main_permission] type = "group" @@ -65,7 +64,7 @@ ram.runtime = "50M" api.protected = true [resources.apt] - packages = "prosody ffmpeg postgresql postgresql-contrib openssl g++ mailutils apt-transport-https" + packages = "prosody, ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https" extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" diff --git a/scripts/_common.sh b/scripts/_common.sh index 98880bb..f284ef7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version=18 +nodejs_version=20 #================================================= # PERSONAL HELPERS