summarylogtreecommitdiffstats
path: root/etebase-server.service
blob: 2de0e0d969e2fcf7d9d2b2ba408f582251112a15 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
[Unit]
Description=Etebase server

[Service]
User=etebase
Group=etebase
ExecStart=/usr/bin/uvicorn etebase_server.asgi:application --uds /run/etebase-server/etebase-server.sock

ReadWritePaths=/var/lib/etebase-server

RemoveIPC=true
CapabilityBoundingSet=
NoNewPrivileges=true
PrivateDevices=true
ProtectClock=true
ProtectKernelLogs=true
ProtectControlGroups=true
ProtectKernelModules=true
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
RestrictNamespaces=true
RestrictSUIDSGID=true
ProtectHostname=true
LockPersonality=true
ProtectKernelTunables=true
RestrictAddressFamilies=AF_UNIX
PrivateNetwork=true
RestrictRealtime=true
ProtectSystem=strict
ProtectProc=invisible
ProcSubset=pid
ProtectHome=true
PrivateUsers=true
PrivateTmp=true
SystemCallFilter=@system-service

[Install]
WantedBy=multi-user.target