public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-im/mautrix-signal/files/
@ 2024-03-26 23:52 Julien Roy
  0 siblings, 0 replies; only message in thread
From: Julien Roy @ 2024-03-26 23:52 UTC (permalink / raw
  To: gentoo-commits

commit:     30bbfda895ae36a7e64509419dc8d87f96d03201
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue Mar 26 23:49:12 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Mar 26 23:49:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30bbfda8

net-im/mautrix-signal/files: fix initd

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 net-im/mautrix-signal/files/mautrix-signal.initd   | 14 +++++++-------
 net-im/mautrix-signal/files/mautrix-signal.service |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/net-im/mautrix-signal/files/mautrix-signal.initd b/net-im/mautrix-signal/files/mautrix-signal.initd
index aa35ee9086..c59dbd0250 100644
--- a/net-im/mautrix-signal/files/mautrix-signal.initd
+++ b/net-im/mautrix-signal/files/mautrix-signal.initd
@@ -1,22 +1,22 @@
 #!/sbin/openrc-run
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 name="mautrix-signal daemon"
-description="A Matrix-Signal Messenger puppeting bridge"
+description="A Matrix-Signal puppeting bridge"
 module="mautrix_signal"
 
 pidfile="/run/${RC_SVCNAME}.pid"
-command="/usr/bin/python"
-command_args="-m ${module} -c /etc/mautrix/${module}.yaml -r /var/lib/mautrix/signal/registration.yaml"
+command="/usr/bin/mautrix-signal"
+command_args="-c /etc/mautrix/${module}.yaml -r /var/lib/mautrix/signal/registration.yaml"
 command_background=true
 command_user="mautrix-signal:mautrix"
 
-output_log="/var/log/mautrix/mautrix-signal_daemon.log"
-error_log="/var/log/mautrix/mautrix-signal_daemon.log"
+output_log="/var/log/mautrix/signal/daemon.log"
+error_log="/var/log/mautrix/signal/daemon.log"
 
 depend() {
-	need signald
+	need net
 }
 
 start_pre() {

diff --git a/net-im/mautrix-signal/files/mautrix-signal.service b/net-im/mautrix-signal/files/mautrix-signal.service
index 799c520c0d..2f5484f6c5 100644
--- a/net-im/mautrix-signal/files/mautrix-signal.service
+++ b/net-im/mautrix-signal/files/mautrix-signal.service
@@ -1,12 +1,12 @@
 [Unit]
-Description=A Matrix-Signal Messenger puppeting bridge
+Description=A Matrix-Signal puppeting bridge
 After=network.target
 
 [Service]
 User=mautrix-signal
 Group=mautrix
 Restart=always
-ExecStart=/usr/bin/python -m mautrix_signal -c /etc/mautrix/mautrix_signal.yaml -r /var/lib/mautrix/signal/registration.yaml
+ExecStart=/usr/bin/mautrix-signal -c /etc/mautrix/mautrix_signal.yaml -r /var/lib/mautrix/signal/registration.yaml
 
 [Install]
 WantedBy=multi-user.target
\ No newline at end of file


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-26 23:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 23:52 [gentoo-commits] repo/proj/guru:dev commit in: net-im/mautrix-signal/files/ Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox