From 77d79f7711397378fee9ed821158d66d0c8f5669 Mon Sep 17 00:00:00 2001 From: Steven Burnham Date: Fri, 22 Dec 2023 10:12:18 -0500 Subject: [PATCH 1/2] Added instructions for crontab at reboot --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b70fde1..e050032 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,18 @@ bot in another Matrix client, or using the create group chat button in Beeper Desktop. Currently the bridge will run in foreground, so you'll have to keep `bbctl run` -active somewhere (tmux is a good option). In the future, a service mode will be +active somewhere (tmux is a good option). + +Use crontab to set the bridge up to start on reboot. If you would like logging +add the following entry to your crontab and replace `` with the location of +bbctl, `` with the name of the bridge, and `` with the +location of where you would like logs saved: +`@reboot //bbctl run > //.log` + +If you do not want logging add the following to your crontab: +`@reboot //bbctl run > /dev/null` + +In the future, a service mode will be added where the bridge is registered as a systemd or launchd service to be started automatically by the OS. From 930bf7af530fcc5cd85afffcf66b589c9ea2b40b Mon Sep 17 00:00:00 2001 From: Steven Burnham Date: Fri, 22 Dec 2023 10:18:56 -0500 Subject: [PATCH 2/2] Fixed some paragraph spacing --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e050032..79e4f8f 100644 --- a/README.md +++ b/README.md @@ -75,9 +75,11 @@ Use crontab to set the bridge up to start on reboot. If you would like logging add the following entry to your crontab and replace `` with the location of bbctl, `` with the name of the bridge, and `` with the location of where you would like logs saved: + `@reboot //bbctl run > //.log` If you do not want logging add the following to your crontab: + `@reboot //bbctl run > /dev/null` In the future, a service mode will be