summaryrefslogtreecommitdiff
path: root/net-p2p/syncthing/files/stdiscosrv.initd
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/syncthing/files/stdiscosrv.initd')
-rw-r--r--net-p2p/syncthing/files/stdiscosrv.initd30
1 files changed, 0 insertions, 30 deletions
diff --git a/net-p2p/syncthing/files/stdiscosrv.initd b/net-p2p/syncthing/files/stdiscosrv.initd
deleted file mode 100644
index 333b980897b3..000000000000
--- a/net-p2p/syncthing/files/stdiscosrv.initd
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-SD_USER=stdiscosrv
-SD_GROUP=stdiscosrv
-SD_HOMEDIR=/var/lib/stdiscosrv
-SD_LOGFILE=/var/log/syncthing/stdiscosrv.log
-
-
-description="Discovery service for syncthing"
-command="/usr/libexec/syncthing/stdiscosrv"
-command_args="${SD_OPTS}"
-pidfile="/run/stdiscosrv.pid"
-start_stop_daemon_args="--background
- --user ${SD_USER}
- --group ${SD_GROUP}
- --chdir \"${SD_HOMEDIR}\"
- --make-pidfile
- --stdout \"${SD_LOGFILE}\"
- --stderr \"${SD_LOGFILE}\"
- "
-
-depend() {
- need net
-}
-
-start_pre() {
- checkpath -q -d -o ${SD_USER}:${SD_GROUP} ${SD_HOMEDIR}
- checkpath -q -f -o ${SD_USER}:${SD_GROUP} ${SD_LOGFILE}
-}