summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-05-09 13:16:22 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-05-09 13:16:22 -0300
commitf307a90c2d81336ca68a3dc06be2833b27872e3a (patch)
tree28e0abfb0d8a9cbf89178295409b00d1d6a2fd7f
parentfc6ac266ca40c415d00a893e04386d4b5ab22535 (diff)
better .service
-rw-r--r--pcr/radicale/PKGBUILD4
-rw-r--r--pcr/radicale/radicale.service8
2 files changed, 8 insertions, 4 deletions
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 <guillaume.bouchard@liris.cnrs.fr>
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