From b61b58ce2c1371d6f904f108fa7feed3abfbe5c7 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 8 Apr 2026 13:18:14 +0900 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- .config/rc/init.d/syncthing | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 .config/rc/init.d/syncthing (limited to '.config/rc/init.d/syncthing') diff --git a/.config/rc/init.d/syncthing b/.config/rc/init.d/syncthing new file mode 100755 index 0000000..083b092 --- /dev/null +++ b/.config/rc/init.d/syncthing @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License, v2 or later + +supervisor=supervise-daemon +command="/usr/bin/syncthing" +command_args="serve --no-browser --no-restart --logflags=0" +error_logger="logger -t '${RC_SVCNAME}' -p daemon.error" + +extra_started_commands="browser" +browser() { + syncthing browser + eend $? "Opened syncthing gui in the browser" +} -- cgit 1.4.1