radicale: Stop service during backup and restore

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
Sunil Mohan Adapa authored and Joseph Nuthalapati committed 2020-08-22 13:09:20 +05:30
1 parent eb7454d3b7
commit f43bc8edaf
2 files changed
+8 -1

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ version = 2
managed_packages = ['radicale', 'uwsgi', 'uwsgi-plugin-python3']
managed_services = ['uwsgi']
_description = [
format_lazy(
_('Radicale is a CalDAV and CardDAV server. It allows synchronization '
+6 -1
View File
@@ -79,4 +79,9 @@ clients = validate([{
}]
}])
backup = validate_backup({'data': {'directories': ['/var/lib/radicale/']}})
backup = validate_backup({
'data': {
'directories': ['/var/lib/radicale/']
},
'services': ['uwsgi']
})