summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-01-18 16:52:56 +0100
committerMarek Szuba <marecki@gentoo.org>2022-01-18 17:40:32 +0100
commite921bbd70d0b628442f5ae1dc2d2abe0440b8cd2 (patch)
treefb607ff9dcf8c79b543e7c7475d91f539ab27b5c /net-p2p/syncthing/files/syncthing.initd
parentsci-libs/indilib: 1.9.4 version bump (diff)
downloadgentoo-e921bbd70d0b628442f5ae1dc2d2abe0440b8cd2.tar.gz
gentoo-e921bbd70d0b628442f5ae1dc2d2abe0440b8cd2.tar.bz2
gentoo-e921bbd70d0b628442f5ae1dc2d2abe0440b8cd2.zip
net-p2p/syncthing: drop 1.18.4
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-p2p/syncthing/files/syncthing.initd')
-rw-r--r--net-p2p/syncthing/files/syncthing.initd34
1 files changed, 0 insertions, 34 deletions
diff --git a/net-p2p/syncthing/files/syncthing.initd b/net-p2p/syncthing/files/syncthing.initd
deleted file mode 100644
index b64ebac03254..000000000000
--- a/net-p2p/syncthing/files/syncthing.initd
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-SYNCTHING_USER=${SYNCTHING_USER:-syncthing}
-SYNCTHING_GROUP=${SYNCTHING_GROUP:-syncthing}
-SYNCTHING_HOMEDIR=${SYNCTHING_HOMEDIR:-/var/lib/syncthing/.config/syncthing}
-SYNCTHING_LOGFILE=${SYNCTHING_LOGFILE:-/var/log/syncthing/syncthing.log}
-SYNCTHING_UMASK=${SYNCTHING_UMASK:-007}
-SYNCTHING_IONICE=${SYNCTHING_IONICE:-0}
-SYNCTHING_NICE=${SYNCTHING_NICE:-0}
-
-description="Syncthing is an open, trustworthy and decentralized cloud storage system"
-command="/usr/bin/syncthing"
-command_args="-no-browser -home=${SYNCTHING_HOMEDIR} ${SYNCTHING_OPTS}"
-pidfile="/run/syncthing.pid"
-start_stop_daemon_args="--background \
- --user ${SYNCTHING_USER} \
- --group ${SYNCTHING_GROUP} \
- --umask ${SYNCTHING_UMASK} \
- --make-pidfile \
- --ionice ${SYNCTHING_IONICE} \
- --nicelevel ${SYNCTHING_NICE} \
- --stdout ${SYNCTHING_LOGFILE} \
- --stderr ${SYNCTHING_LOGFILE}"
-
-depend() {
- need localmount net
-}
-
-start_pre() {
- checkpath -q -d -o ${SYNCTHING_USER}:${SYNCTHING_GROUP} ${SYNCTHING_HOMEDIR}
- checkpath -q -f -o ${SYNCTHING_USER}:${SYNCTHING_GROUP} ${SYNCTHING_LOGFILE}
-}