- Changed - The eturnalctl status call now checks whether eturnal is actually ready to handle STURN/TURN clients (and prints a line to the standard output in that case). If this call is issued early during startup, it will block (up to 15 seconds) until eturnal is responsive. The old behavior was to (silently) return success as soon as the underlying VM is alive. OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/eturnal?expand=0&rev=30
30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
Index: eturnal/build.config
|
|
===================================================================
|
|
--- eturnal.orig/build.config
|
|
+++ eturnal/build.config
|
|
@@ -3,9 +3,9 @@
|
|
%%% Note that these settings may be overridden using environment variables of
|
|
%%% the same name, but upper-case.
|
|
|
|
-{eturnal_user, "eturnal"}. % The user running eturnal.
|
|
-{eturnal_prefix, "/opt/eturnal"}. % The installation directory.
|
|
+{eturnal_user, "_eturnal"}. % The user running eturnal.
|
|
+{eturnal_prefix, "/usr/lib/eturnal"}. % The installation directory.
|
|
{eturnal_etc_dir, "/etc"}. % The directory containing the eturnal.yml.
|
|
{erl_epmd_address, "127.0.0.1"}. % See <https://erlang.org/doc/man/epmd.html>.
|
|
{erl_dist_port, ""}. % Specify a port number to avoid spawning EPMD.
|
|
-{code_loading, "static"}. % Specify "dynamic" to avoid hard-coded dep versions.
|
|
+{code_loading, "dynamic"}. % Specify "dynamic" to avoid hard-coded dep versions.
|
|
Index: eturnal/overlay/init/systemd/eturnal.service
|
|
===================================================================
|
|
--- eturnal.orig/overlay/init/systemd/eturnal.service
|
|
+++ eturnal/overlay/init/systemd/eturnal.service
|
|
@@ -1,6 +1,6 @@
|
|
[Unit]
|
|
Description=eturnal STUN/TURN server
|
|
-Wants=epmd.service
|
|
+Requires=epmd.service
|
|
After=epmd.service network.target
|
|
Documentation=https://eturnal.net/doc/
|
|
Documentation=https://github.com/processone/eturnal/blob/{{release_version}}/README.md
|