~tardypad/alpine-system

43e5a00f5276e4da82c7cc818ec93dcaa4444633 — Damien Tardy-Panis 4 months ago 63409c4
system-config: change radicale collection directory

Put it in home folder so that it's possible to upload it from the backup
during the setup process.
M builds/system-config/APKBUILD => builds/system-config/APKBUILD +1 -1
@@ 1,6 1,6 @@
# Maintainer: Damien Tardy-Panis <damien.dev@tardypad.me>
pkgname="system-config"
pkgver=5
pkgver=6
pkgrel=0
pkgdesc="System configurations"
url="https://sr.ht/~tardypad/alpine-system/"

M builds/system-config/files/etc/radicale/config => builds/system-config/files/etc/radicale/config +1 -1
@@ 87,7 87,7 @@ type = http_x_remote_user
#type = multifilesystem

# Folder for storing local collections, created if not present
#filesystem_folder = /var/lib/radicale/collections
filesystem_folder = /home/damien/radicale/

# Delete sync token that are older (seconds)
#max_sync_token_age = 2592000

M builds/system-config/system-config.post-install => builds/system-config/system-config.post-install +5 -0
@@ 1,4 1,9 @@
#!/bin/sh

# fix collection permissions after backup upload
# make sure the folder exists beforehand
mkdir -p /home/damien/radicale
chown -R radicale:radicale /home/damien/radicale

rc-update add radicale default
rc-service radicale restart