blob: 82b8379a63fb7ea809a638465b49bc137d32f4c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/openrc-run
supervisor=supervise-daemon
name=radicale
description="A simple CalDAV (calendar) and CardDAV (contact) server"
command=/usr/bin/radicale
command_args_foreground="--foreground"
command_user=radicale:radicale
depend() {
use net
need localmount
}
start_pre() {
checkpath --directory --owner radicale /var/lib/radicale
checkpath --directory --owner radicale /var/log/radicale
checkpath --file --owner root:radicale --mode 0640 /etc/radicale/config
checkpath --file --owner root:radicale --mode 0640 /etc/radicale/logging
}
|