From d57b5cd7830a5b4ed1437b1b648dca62a9b6eea3 Mon Sep 17 00:00:00 2001 From: Jan T Date: Thu, 23 Jul 2026 19:24:22 +0300 Subject: */*: initial commit --- net-im/taulubot/files/pkg-message.in | 30 +++++++++++++ net-im/taulubot/files/taulubot.in | 81 ++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 net-im/taulubot/files/pkg-message.in create mode 100644 net-im/taulubot/files/taulubot.in (limited to 'net-im/taulubot/files') diff --git a/net-im/taulubot/files/pkg-message.in b/net-im/taulubot/files/pkg-message.in new file mode 100644 index 0000000..deeeac9 --- /dev/null +++ b/net-im/taulubot/files/pkg-message.in @@ -0,0 +1,30 @@ +[ + { + type: install + message: </dev/null + rm -f "${pidfile}" + fi +} + +taulubot_status() +{ + if [ -f "${pidfile}" ] && kill -0 "$(cat "${pidfile}")" 2>/dev/null; then + echo "${name} is running as pid $(cat "${pidfile}")" + else + echo "${name} is not running" + return 1 + fi +} + +run_rc_command "$1" -- cgit v1.3