summarylogtreecommitdiffstats
path: root/gotify-server.service
blob: 9be9d8e0dfefda4a26f88d5c168edb7142b3ca75 (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
[Unit]
Description=gotify
After=network.target

[Service]
User=gotify
Group=gotify
Type=simple
WorkingDirectory=~
StateDirectory=gotify
StateDirectoryMode=0750
Environment=USER=gotify HOME=/var/lib/gotify
ExecStart=/usr/bin/gotify-server
PrivateUsers=true
PrivateDevices=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
ProtectControlGroups=yes
ProtectKernelTunables=true
ProtectKernelModules=yes
ReadWritePaths=/etc/gotify/config.yml
LockPersonality=true
MemoryDenyWriteExecute=true
RestrictRealtime=true
SystemCallArchitectures=native
SystemCallFilter=@system-service

[Install]
WantedBy=multi-user.target