Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
services:radicale [2024/02/22 08:54] – created willy | services:radicale [2024/11/11 06:48] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 22: | Line 22: | ||
</ | </ | ||
- | Radicale uses //pip//, so as usual enable it on Gentoo for user Radicale by creating the file **/ | + | Radicale uses //pip//, so as usual enable it on Gentoo for user Radicale by creating the file **/ |
- | <file pip.conf> | + | < |
[global] | [global] | ||
break-system-packages = true | break-system-packages = true | ||
Line 37: | Line 37: | ||
Create the config file **~/ | Create the config file **~/ | ||
<file - config> | <file - config> | ||
+ | [server] | ||
# Bind all addresses | # Bind all addresses | ||
hosts = 127.0.0.1: | hosts = 127.0.0.1: | ||
Line 47: | Line 48: | ||
[storage] | [storage] | ||
filesystem_folder = / | filesystem_folder = / | ||
- | </code> | + | </file> |
then start it: | then start it: | ||
Line 76: | Line 77: | ||
Now go with browser to **http:// | Now go with browser to **http:// | ||
- | ==== Autostart | + | ===== Startup ===== |
- | Autostart, put this into **/etc/local.d/ | + | Since i use OpenRC, to start radicale simply create the following script under /etc/init.d: |
- | <file - 50-radicale.start> | + | <file - /etc/init.d/radicale> |
- | #!/bin/bash | + | #!/sbin/openrc-run |
+ | # Copyright 1999-2021 Gentoo Authors | ||
+ | # Distributed under the terms of the GNU General Public License v2 | ||
- | start-stop-daemon -b -m -p /var/ | + | description=" |
+ | pidfile=" | ||
+ | command_background=true | ||
+ | command=" | ||
+ | command_args="" | ||
+ | command_user=" | ||
+ | |||
+ | depend() { | ||
+ | need net | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Make it executable and add the service to the default runlevel: | ||
+ | <code bash> | ||
+ | chmod +x / | ||
+ | rc-update add radicale default | ||
+ | </ | ||
+ | |||
+ | ==== Sharing calendars ==== | ||
+ | |||
+ | Radicale doesn' | ||
+ | |||
+ | So, first of all login on Radicale web GUI with all the users you want to share the calendar with, then create in one of them the actual calendar. | ||
+ | |||
+ | At this point, you only need to link the calendar folder inside all he users: | ||
+ | <code bash> | ||
+ | ln -s / | ||
</ | </ | ||
+ | and that's it. | ||