diff --git a/conf/systemd.service b/conf/systemd.service index a1d33df..01d3301 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ -ExecStart=__INSTALL_DIR__/bin/dendrite-monolith-server --tls-cert=/etc/yunohost/certs/__DOMAIN__/crt.pem --tls-key=/etc/yunohost/certs/__DOMAIN__/key.pem --config=dendrite.yaml --http-bind-address=:__PORT__ --https-bind-address=:__PORT_TLS__ __REALLY_ENABLE_OPEN_REGISTRATION__ +ExecStart=__INSTALL_DIR__/bin/dendrite --tls-cert=/etc/yunohost/certs/__DOMAIN__/crt.pem --tls-key=/etc/yunohost/certs/__DOMAIN__/key.pem --config=dendrite.yaml --http-bind-address=:__PORT__ --https-bind-address=:__PORT_TLS__ __REALLY_ENABLE_OPEN_REGISTRATION__ StandardOutput=journal StandardError=inherit LimitNOFILE=65535 diff --git a/scripts/install b/scripts/install index a1c57cf..c9cf4eb 100644 --- a/scripts/install +++ b/scripts/install @@ -77,7 +77,7 @@ pushd "$install_dir/build" ynh_use_go export GOPATH="$install_dir/build/go" export GOCACHE="$install_dir/build/.cache" - CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 + CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/dendrite > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/create-account > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/generate-keys > /dev/null 2>&1 popd