debian-setup/templates/radicale/service.j2
2024-08-03 15:11:52 +02:00

24 lines
504 B
Django/Jinja

# {{ ansible_managed }}
[Unit]
Description=A simple CalDAV (calendar) and CardDAV (contact) server
After=network.target
Requires=network.target
[Service]
ExecStart=/usr/local/lib/radicale/env/bin/radicale
User=radicale
Restart=on-failure
UMask=0027
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
NoNewPrivileges=true
ReadWritePaths=/etc/radicale/collections
[Install]
WantedBy=multi-user.target