diff options
-rw-r--r-- | net-p2p/syncthing/files/relaysrv.systemd.patch | 13 | ||||
-rw-r--r-- | net-p2p/syncthing/files/syncthing-relaysrv.confd | 3 | ||||
-rw-r--r-- | net-p2p/syncthing/files/syncthing-relaysrv.initd | 30 | ||||
-rw-r--r-- | net-p2p/syncthing/files/syncthing-relaysrv.logrotate | 6 |
4 files changed, 0 insertions, 52 deletions
diff --git a/net-p2p/syncthing/files/relaysrv.systemd.patch b/net-p2p/syncthing/files/relaysrv.systemd.patch deleted file mode 100644 index 52417ca2ab14..000000000000 --- a/net-p2p/syncthing/files/relaysrv.systemd.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/github.com/syncthing/syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service b/src/github.com/syncthing/syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service -index b9d3173..7f8e2c0 100644 ---- a/src/github.com/syncthing/syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service -+++ b/src/github.com/syncthing/syncthing/cmd/relaysrv/etc/linux-systemd/syncthing-relaysrv.service -@@ -5,7 +5,7 @@ After=network.target - [Service] - User=syncthing-relaysrv - Group=syncthing-relaysrv --ExecStart=/usr/bin/relaysrv -+ExecStart=/usr/libexec/syncthing/relaysrv - WorkingDirectory=/var/lib/syncthing-relaysrv - - PrivateTmp=true diff --git a/net-p2p/syncthing/files/syncthing-relaysrv.confd b/net-p2p/syncthing/files/syncthing-relaysrv.confd deleted file mode 100644 index 2effc3997209..000000000000 --- a/net-p2p/syncthing/files/syncthing-relaysrv.confd +++ /dev/null @@ -1,3 +0,0 @@ -# Options to pass to relaysrv -# see relaysrv --help for more information -SR_OPTS= diff --git a/net-p2p/syncthing/files/syncthing-relaysrv.initd b/net-p2p/syncthing/files/syncthing-relaysrv.initd deleted file mode 100644 index 860c5f38aa8d..000000000000 --- a/net-p2p/syncthing/files/syncthing-relaysrv.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -SR_USER=syncthing-relaysrv -SR_GROUP=syncthing-relaysrv -SR_HOMEDIR=/var/lib/syncthing-relaysrv -SR_LOGFILE=/var/log/syncthing/relaysrv.log - - -description="Relay service for syncthing" -command="/usr/libexec/syncthing/relaysrv" -command_args="${SR_OPTS}" -pidfile="/run/relaysrv.pid" -start_stop_daemon_args="--background - --user ${SR_USER} - --group ${SR_GROUP} - --chdir \"${SR_HOMEDIR}\" - --make-pidfile - --stdout \"${SR_LOGFILE}\" - --stderr \"${SR_LOGFILE}\" - " - -depend() { - need net -} - -start_pre() { - checkpath -q -d -o ${SR_USER}:${SR_GROUP} ${SR_HOMEDIR} - checkpath -q -f -o ${SR_USER}:${SR_GROUP} ${SR_LOGFILE} -} diff --git a/net-p2p/syncthing/files/syncthing-relaysrv.logrotate b/net-p2p/syncthing/files/syncthing-relaysrv.logrotate deleted file mode 100644 index f168cbfc413e..000000000000 --- a/net-p2p/syncthing/files/syncthing-relaysrv.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/syncthing/relaysrv.log { - missingok - notifempty - sharedscripts - copytruncate -} |