summaryrefslogtreecommitdiff
path: root/www-apps/radicale/files/radicale.service
blob: ffafba8d3ae79d9538e1b00599c92ee7e514b638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## this is heavily inspired by https://radicale.org/setup/

[Unit]
Description=A simple CalDAV (calendar) and CardDAV (contact) server
After=network.target
Requires=network.target

[Service]
ExecStart=/usr/bin/radicale
Restart=on-failure
User=radicale
# Deny other users access to the calendar data
UMask=0027
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
NoNewPrivileges=true
StateDirectory=radicale

[Install]
WantedBy=multi-user.target