[arch-commits] Commit in smokeping/trunk (PKGBUILD install service)
Florian Pritz
bluewind at archlinux.org
Sat Jan 9 16:22:03 UTC 2016
Date: Saturday, January 9, 2016 @ 17:22:03
Author: bluewind
Revision: 155802
Fix FS#47678 - [smokeping] daemon is not running after reboot
upgpkg: smokeping 2.6.11-2
Modified:
smokeping/trunk/PKGBUILD
smokeping/trunk/install
smokeping/trunk/service
----------+
PKGBUILD | 4 ++--
install | 5 -----
service | 4 ++++
3 files changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-09 16:19:53 UTC (rev 155801)
+++ PKGBUILD 2016-01-09 16:22:03 UTC (rev 155802)
@@ -3,7 +3,7 @@
pkgname=smokeping
pkgver=2.6.11
-pkgrel=1
+pkgrel=2
pkgdesc="A tool to keep track of your network latency"
arch=('any')
url="http://oss.oetiker.ch/smokeping/"
@@ -13,7 +13,7 @@
source=(http://oss.oetiker.ch/smokeping/pub/smokeping-${pkgver}.tar.gz
service)
sha256sums=('f2b3c386e95a74af2b1e7aec6410d0a58852339f00e9963f3c770cfd85ba30dd'
- 'd8269fb14221d679bd4eb7e7028eda47ac5bb24490ecff4ec7e949c6209688be')
+ '4691650aed6c7341bf3a898f63c8ad03f2453d4ce9874e83f24ced5ee21317d9')
install=install
build() {
Modified: install
===================================================================
--- install 2016-01-09 16:19:53 UTC (rev 155801)
+++ install 2016-01-09 16:22:03 UTC (rev 155802)
@@ -8,8 +8,3 @@
post_install
}
-pre_remove() {
- getent passwd smokeping &>/dev/null && userdel smokeping >/dev/null
- getent group smokeping &>/dev/null && groupdel smokeping >/dev/null
- true
-}
Modified: service
===================================================================
--- service 2016-01-09 16:19:53 UTC (rev 155801)
+++ service 2016-01-09 16:22:03 UTC (rev 155802)
@@ -1,3 +1,7 @@
+[Unit]
+Description=SmokePing Daemon
+After=network.target
+
[Service]
User=smokeping
ExecStart=/usr/bin/smokeping --nodaemon --config=/etc/smokeping/config
More information about the arch-commits
mailing list