summarylogtreecommitdiffstats
path: root/linx-cleanup.service
blob: d28ea5afbaece8f0ac61f8d7fefef4af4abaa1dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Expired files cleanup for linx-server
Documentation=https://github.com/ZizzyDizzyMC/linx-server/tree/master/linx-cleanup
After=linx-server.service

[Service]
User=linx
WorkingDirectory=/var/lib/linx-server
ExecStart=/usr/bin/linx-cleanup

ProtectSystem=full
PrivateTmp=true
ProtectHome=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true