matrix-synapse: restore entry point for service
This commit is contained in:
parent
ce62a9dd11
commit
0c663e9032
@ -30,6 +30,11 @@ in buildPythonApplication rec {
|
|||||||
sha256 = "1ych13x3c2cam7af4q2ariwvzwvr65g3j2x8ajjn33ydwxxbqbg6";
|
sha256 = "1ych13x3c2cam7af4q2ariwvzwvr65g3j2x8ajjn33ydwxxbqbg6";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# adds an entry point for the service
|
||||||
|
./homeserver-script.patch
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
bcrypt
|
bcrypt
|
||||||
bleach
|
bleach
|
||||||
|
21
pkgs/servers/matrix-synapse/homeserver-script.patch
Normal file
21
pkgs/servers/matrix-synapse/homeserver-script.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
diff --git a/homeserver b/homeserver
|
||||||
|
new file mode 120000
|
||||||
|
index 0000000..2f1d413
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/homeserver
|
||||||
|
@@ -0,0 +1,1 @@
|
||||||
|
+synapse/app/homeserver.py
|
||||||
|
\ No newline at end of file
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index b00c2af..c7f6e0a 100755
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -92,6 +92,6 @@ setup(
|
||||||
|
include_package_data=True,
|
||||||
|
zip_safe=False,
|
||||||
|
long_description=long_description,
|
||||||
|
- scripts=["synctl"] + glob.glob("scripts/*"),
|
||||||
|
+ scripts=["synctl", "homeserver"] + glob.glob("scripts/*"),
|
||||||
|
cmdclass={'test': TestCommand},
|
||||||
|
)
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user