blob: 845a5d175f015a3488d163fe32d5386cf916bfed (
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
|
[Unit]
Description=Run a sliding sync proxy for the matrix protocol
Wants=network-online.target
After=network-online.target
[Service]
EnvironmentFile=/etc/matrix-sliding-sync.conf
ExecStart=/usr/bin/syncv3
User=slidingsync
Group=slidingsync
DynamicUser=true
PrivateUsers=true
ProtectHome=true
ProtectSystem=strict
SystemCallFilter=@system-service
NoNewPrivileges=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
MemoryDenyWriteExecute=true
RestrictSUIDSGID=true
KeyringMode=private
ProtectClock=true
RestrictRealtime=true
PrivateDevices=true
PrivateTmp=true
ProtectHostname=true
ProtectProc=noaccess
ProcSubset=pid
LockPersonality=true
[Install]
WantedBy=multi-user.target
|