diff options
author | 2021-04-16 14:03:12 +0200 | |
---|---|---|
committer | 2021-04-28 09:42:02 +0300 | |
commit | a3327bfde9e17d219080e9aeb7ec744c1b61a38b (patch) | |
tree | 25ea6e869f09e2b3b8fd37c1256a3352a4582d52 /www-apps/radicale/files | |
parent | net-misc/unison: remove :2.48 (diff) | |
download | gentoo-a3327bfde9e17d219080e9aeb7ec744c1b61a38b.tar.gz gentoo-a3327bfde9e17d219080e9aeb7ec744c1b61a38b.tar.bz2 gentoo-a3327bfde9e17d219080e9aeb7ec744c1b61a38b.zip |
www-apps/radicale: add back radicale 2.1.12
Added 2.1.12 back due to bug: https://bugs.gentoo.org/783057
Waiting upstream for bugfix: https://github.com/Kozea/Radicale/issues/1142
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco@scardovi.com>
Closes: https://github.com/gentoo/gentoo/pull/20407
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps/radicale/files')
-rw-r--r-- | www-apps/radicale/files/radicale-r2.init.d | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/www-apps/radicale/files/radicale-r2.init.d b/www-apps/radicale/files/radicale-r2.init.d new file mode 100644 index 000000000000..23da22d7fc9e --- /dev/null +++ b/www-apps/radicale/files/radicale-r2.init.d @@ -0,0 +1,27 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +PIDFILE=/run/radicale.pid + +depend() { + need localmount +} + +start() { + ebegin "Starting radicale" + start-stop-daemon --start --quiet --background \ + --user radicale \ + --umask 0027 \ + --stderr-logger /usr/bin/logger \ + --pidfile ${PIDFILE} --make-pidfile \ + --exec /usr/bin/radicale --foreground + eend $? +} + +stop() { + ebegin "Stopping radicale" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} + eend $? +} |