#!/sbin/openrc-run # Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 name="conduwuit telegram bridge" description="Conduwuit Telegram Matrix Bridge" pidfile="/run/conduwuit-telegram.pid" command_background=true command="/data/daemons/conduwuit/mautrix-telegram/bin/python" command_args="/data/conduwuit/mautrix-telegram-config.yaml -m mautrix_telegram" command_user="conduwuit:conduwuit" output_log="/var/log/conduwuit/conduwuit-telegram.log" output_err="/var/log/conduwuit/conduwuit-telegram.log" start_pre() { cd /data/daemons/conduwuit/mautrix-telegram } depend() { need net }