mirror of
https://github.com/YunoHost-Apps/radicale_ynh.git
synced 2024-09-03 20:16:14 +02:00
25 lines
577 B
SYSTEMD
25 lines
577 B
SYSTEMD
|
[Unit]
|
||
|
Description=A simple CalDAV (calendar) and CardDAV (contact) server
|
||
|
After=network.target
|
||
|
Requires=network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/opt/yunohost/__APP__/bin/python3 -m radicale
|
||
|
Restart=on-failure
|
||
|
User=radicale
|
||
|
# Deny other users access to the calendar data
|
||
|
UMask=0027
|
||
|
# Optional security settings
|
||
|
PrivateTmp=true
|
||
|
ProtectSystem=strict
|
||
|
ProtectHome=true
|
||
|
PrivateDevices=true
|
||
|
ProtectKernelTunables=true
|
||
|
ProtectKernelModules=true
|
||
|
ProtectControlGroups=true
|
||
|
NoNewPrivileges=true
|
||
|
ReadWritePaths=__FINALPATH__/collections /var/log/__APP__
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|