summarylogtreecommitdiffstats
path: root/mautrix-linkedin.service
blob: 24ed038c30bac14963a632cc15dd5fea196445cc (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
[Unit]
Description=LinkedIn Messaging Matrix Bridge

[Service]
ExecStart=python -m linkedin_matrix -nc /etc/mautrix-linkedin/config.yaml -r /etc/mautrix-linkedin/registration.yaml
Restart=on-failure
User=mautrix-linkedin
WorkingDirectory=~

ReadWritePaths=/var/lib/mautrix-linkedin

NoNewPrivileges=yes
MemoryDenyWriteExecute=true
PrivateDevices=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictRealtime=true
LockPersonality=true
ProtectKernelLogs=true
ProtectKernelTunables=true
ProtectHostname=true
ProtectKernelModules=true
ProtectClock=true
SystemCallArchitectures=native

[Install]
WantedBy=multi-user.target