diff options
author | Julien Roy <julien@jroy.ca> | 2024-03-26 19:49:12 -0400 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2024-03-26 19:49:26 -0400 |
commit | 30bbfda895ae36a7e64509419dc8d87f96d03201 (patch) | |
tree | dcf00a44839bf288a8d02a84bb8c41a829dc7a18 | |
parent | net-proxy/MTProxy: new package, add 3.0.4 (diff) | |
download | guru-30bbfda895ae36a7e64509419dc8d87f96d03201.tar.gz guru-30bbfda895ae36a7e64509419dc8d87f96d03201.tar.bz2 guru-30bbfda895ae36a7e64509419dc8d87f96d03201.zip |
net-im/mautrix-signal/files: fix initd
Signed-off-by: Julien Roy <julien@jroy.ca>
-rw-r--r-- | net-im/mautrix-signal/files/mautrix-signal.initd | 14 | ||||
-rw-r--r-- | 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 aa35ee908..c59dbd025 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 799c520c0..2f5484f6c 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 |