From f307a90c2d81336ca68a3dc06be2833b27872e3a Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 9 May 2013 13:16:22 -0300 Subject: better .service --- pcr/radicale/PKGBUILD | 4 ++-- pcr/radicale/radicale.service | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/radicale/PKGBUILD b/pcr/radicale/PKGBUILD index 59e6868bb..b4f76f6ab 100644 --- a/pcr/radicale/PKGBUILD +++ b/pcr/radicale/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Guillaume Bouchard pkgname=radicale pkgver=0.7.1 -pkgrel=1 +pkgrel=2 pkgdesc="A Simple Calendar Server" arch=any url="http://www.radicale.org/" @@ -20,4 +20,4 @@ package() { } md5sums=('ab1167b1ee713a7a58d843c5921f3327' - '50baf7d766c131287a03c6b0b8bd943f') + 'dbdfedb46af4ceed0ad0db3441b5a266') diff --git a/pcr/radicale/radicale.service b/pcr/radicale/radicale.service index c54bd0d73..293cad6e2 100644 --- a/pcr/radicale/radicale.service +++ b/pcr/radicale/radicale.service @@ -1,6 +1,10 @@ [Unit] -Description=RadiCAL Server +Description=Radicale caldav server +After=network.target [Service] ExecStart=/usr/bin/radicale -KillMode=process +ExecStop=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf