]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - collecty/patches/0001-Install-daemon-to-usr-sbin.patch
collecty: Update to version 002
[ipfire-3.x.git] / collecty / patches / 0001-Install-daemon-to-usr-sbin.patch
diff --git a/collecty/patches/0001-Install-daemon-to-usr-sbin.patch b/collecty/patches/0001-Install-daemon-to-usr-sbin.patch
deleted file mode 100644 (file)
index cc5cac2..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-From 82c136f87bb13aea4f27b669ee98ff7e798ad8b3 Mon Sep 17 00:00:00 2001
-From: Michael Tremer <michael.tremer@ipfire.org>
-Date: Sat, 1 Sep 2012 18:56:19 +0000
-Subject: [PATCH] Install daemon to /usr/sbin.
-
----
- Makefile         |    5 ++++-
- collecty.service |    2 +-
- 2 files changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 7d679af..6fcc787 100644
---- a/Makefile
-+++ b/Makefile
-@@ -24,6 +24,7 @@ PACKAGE_VERSION = 0.0.2
- DESTDIR    =
- PREFIX     = /usr
- BINDIR     = $(PREFIX)/bin
-+SBINDIR    = $(PREFIX)/sbin
- LOCALEDIR  = $(PREFIX)/share/locale
- UNITDIR    = $(PREFIX)/lib/systemd/system
-@@ -55,7 +56,9 @@ dist:
- install: $(MO_FILES)
-       -mkdir -pv $(PYTHON_DIR)
-       cp -rvf collecty $(PYTHON_DIR)
--      install -v -m 755 collectyd $(DESTDIR)$(BINDIR)
-+
-+      -mkdir -pv $(DESTDIR)$(SBINDIR)
-+      install -v -m 755 collectyd $(DESTDIR)$(SBINDIR)
-       # Install configuration
-       -mkdir -pv $(DESTDIR)/etc/$(PACKAGE_NAME)
-diff --git a/collecty.service b/collecty.service
-index ac4a893..78bd26e 100644
---- a/collecty.service
-+++ b/collecty.service
-@@ -2,7 +2,7 @@
- Description=collecty - A system data collecting daemon
- [Service]
--ExecStart=/usr/bin/collectyd
-+ExecStart=/usr/sbin/collectyd
- ExecReload=/bin/kill -HUP $MAINPID
- [Install]
--- 
-1.7.8.2
-