diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-25 14:01:11 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-25 14:01:11 +0200 |
commit | c94bf77ede06fa67fd3222ffa3fcad8898e1fd59 (patch) | |
tree | 3e4cc7f273a07c12fd69c589da434717e523664f /community/uptimed | |
parent | 0f89996e6f908cc405cd44478860b864dcb189f1 (diff) | |
parent | 3b99c42eb8ca744e86e4e17197b1bf10642c6785 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/nginx/PKGBUILD
community-testing/nginx/nginx.install
community/chrony/PKGBUILD
community/lxdm/PKGBUILD
community/oidentd/PKGBUILD
community/oss/PKGBUILD
community/pdnsd/PKGBUILD
community/ruby-cairo/PKGBUILD
community/subtle/PKGBUILD
core/kmod/PKGBUILD
core/lvm2/PKGBUILD
core/openldap/PKGBUILD
core/systemd/PKGBUILD
extra/smartmontools/PKGBUILD
multilib/wine/PKGBUILD
Diffstat (limited to 'community/uptimed')
-rw-r--r-- | community/uptimed/PKGBUILD | 13 | ||||
-rw-r--r-- | community/uptimed/service | 11 |
2 files changed, 19 insertions, 5 deletions
diff --git a/community/uptimed/PKGBUILD b/community/uptimed/PKGBUILD index 0720c515f..3f6ae3fa8 100644 --- a/community/uptimed/PKGBUILD +++ b/community/uptimed/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72514 2012-06-16 08:04:35Z bpiotrowski $ +# $Id: PKGBUILD 72798 2012-06-22 12:52:28Z dreisner $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Tom Killian <tomk@runbox.com> @@ -6,7 +6,7 @@ pkgname=uptimed pkgver=0.3.17 -pkgrel=1 +pkgrel=2 pkgdesc="A system uptime record daemon" arch=(i686 x86_64 'mips64el') url="http://podgorny.cz/uptimed/" @@ -16,9 +16,11 @@ backup=(etc/uptimed.conf) options=('!libtool') install=$pkgname.install source=(http://podgorny.cz/$pkgname/releases/$pkgname-$pkgver.tar.bz2 - rc.d) + rc.d + service) md5sums=('528b62c33454b33537c3bf2366977bdb' - '4ae90bee9fc78014a889a5072effb735') + '4ae90bee9fc78014a889a5072effb735' + '657102b06613ddb9811427bee1973c6b') build() { cd $srcdir/$pkgname-$pkgver @@ -41,5 +43,6 @@ package() { make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc install mv $pkgdir/etc/uptimed.conf-dist $pkgdir/etc/uptimed.conf - install -D $srcdir/rc.d $pkgdir/etc/rc.d/uptimed + install -Dm755 $srcdir/rc.d $pkgdir/etc/rc.d/uptimed + install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/uptimed.service } diff --git a/community/uptimed/service b/community/uptimed/service new file mode 100644 index 000000000..2fd785318 --- /dev/null +++ b/community/uptimed/service @@ -0,0 +1,11 @@ +[Unit] +Description=System uptime record daemon + +[Service] +Type=forking +PIDFile=/var/run/uptimed +ExecStartPre=/usr/sbin/uptimed -b +ExecStart=/usr/sbin/uptimed + +[Install] +WantedBy=multi-user.target |