blob: 8e888e28cf9b8b3cdce69d59b62f0537e5addeb0 (
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=hurrycurry game server
After=network.target
Wants=network-online.target
[Service]
WorkingDirectory=/usr/share/hurrycurry
Environment=XDG_DATA_HOME=/var/lib
ExecStart=/usr/bin/hurrycurry-server
User=hurrycurry
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateDevices=true
PrivateTmp=true
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=true
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectSystem=full
RestrictAddressFamilies=~AF_PACKET AF_NETLINK
RestrictNamespaces=yes
RestrictSUIDSGID=yes
RestrictRealtime=yes
Restart=always
SystemCallArchitectures=native
SystemCallFilter=@system-service
Type=simple
[Install]
WantedBy=multi-user.target
|