User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:radicale [2024/03/05 11:00] – [Radicale] willyservices:radicale [2024/11/11 06:48] (current) – external edit 127.0.0.1
Line 37: Line 37:
 Create the config file **~/.config/radicale/config**: Create the config file **~/.config/radicale/config**:
 <file - config> <file - config>
 +[server]
 # Bind all addresses # Bind all addresses
 hosts = 127.0.0.1:5232 hosts = 127.0.0.1:5232
Line 76: Line 77:
 Now go with browser to **http://10.0.0.1/radicale** to finish setup. Now go with browser to **http://10.0.0.1/radicale** to finish setup.
  
-==== Autostart ====+===== Startup =====
  
-Autostartput this into **/etc/local.d/50-radicale.start** and make it executable+Since i use OpenRCto 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/run/radicale.pid -n radicale -u radicale /data/daemons/radicale/.local/bin/radicale+description="Radicale WebDAV WebCAL server" 
 +pidfile="/run/radicale.pid
 +command_background=true 
 +command="/data/daemons/radicale/.local/bin/radicale
 +command_args="" 
 +command_user="radicale:users" 
 + 
 +depend() { 
 +        need net 
 +
 +</file> 
 + 
 +Make it executable and add the service to the default runlevel: 
 +<code bash> 
 +chmod +x /etc/init.d/radicale 
 +rc-update add radicale default
 </code> </code>
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information