summarylogtreecommitdiffstats
path: root/go-skype-bridge.service
blob: 4b6819e88d3f366d7b4739d27d25f7f0659fce02 (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
39
40
[Unit]
Description=Matrix-Skype puppeting bridge
After=network-online.target
Requires=network-online.target

[Service]
Type=exec
User=go-skype-bridge
Group=go-skype-bridge
WorkingDirectory=/var/lib/go-skype-bridge
ExecStart=/usr/bin/go-skype-bridge -n -c /etc/go-skype-bridge/go-skype-bridge.yaml
Restart=on-failure
RestartSec=30s

ReadWritePaths=/var/lib/go-skype-bridge
ReadWritePaths=/var/log/go-skype-bridge
NoNewPrivileges=yes
MemoryDenyWriteExecute=true
PrivateDevices=yes
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=strict
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictRealtime=true
LockPersonality=true
ProtectKernelLogs=true
ProtectKernelTunables=true
ProtectHostname=true
ProtectKernelModules=true
PrivateUsers=true
ProtectClock=true
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service

[Install]
WantedBy=multi-user.target