Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 857996

Summary: net-im/synapse should provide a systemd unit
Product: Gentoo Linux Reporter: Kenton Groombridge <concord>
Component: Current packagesAssignee: Petr Vaněk <arkamar>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26486
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    
Attachments: synapse.service

Description Kenton Groombridge gentoo-dev 2022-07-14 18:21:56 UTC
Created attachment 791423 [details]
synapse.service

The newly added synapse ebuild (many thanks!) does not seem to provide a systemd unit.

I have attached one I have been using that should be a good starting point to create one.

Upstream does provide a systemd unit but it does not align with the way synapse gets installed in the ebuild. See https://github.com/matrix-org/synapse/blob/develop/contrib/systemd/matrix-synapse.service
Comment 1 Petr Vaněk gentoo-dev 2022-07-15 13:17:17 UTC
Thanks! This is already on my todo list, I'll try to integrate it to the ebuild soon.
Comment 2 Larry the Git Cow gentoo-dev 2022-07-29 03:16:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e715058e518723fe8a9000539578483d8bbab060

commit e715058e518723fe8a9000539578483d8bbab060
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-07-20 13:31:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-29 03:14:31 +0000

    net-im/synapse: add 1.63.1
    
    Closes: https://bugs.gentoo.org/857996
    Closes: https://bugs.gentoo.org/857999
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/26486
    Signed-off-by: Sam James <sam@gentoo.org>

 net-im/synapse/Manifest              |   1 +
 net-im/synapse/files/synapse.service |  22 ++++++++
 net-im/synapse/synapse-1.63.1.ebuild | 104 +++++++++++++++++++++++++++++++++++
 3 files changed, 127 insertions(+)