summarylogtreecommitdiffstats
path: root/systemd-worker.service
blob: 267019203af01119bb2398000a640d61606e6ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Matrix authentication service worker
After=network.target

[Service]
User=mas
WorkingDirectory=/usr/share/matrix-authentication-service
ExecStart=/usr/bin/mas-cli worker -c /etc/matrix-authentication-service/config.yaml
Restart=on-failure

# Hardening
ProtectSystem=yes
PrivateTmp=true
MemoryDenyWriteExecute=true
NoNewPrivileges=true

[Install]
WantedBy=multi-user.target