blob: 5c7ed55cb6bbaa600da36b3f8b87f9c52fc4e849 (
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
|
[Unit]
Description=Self-hosted file/code/media sharing website.
Documentation=https://github.com/ZizzyDizzyMC/linx-server
Wants=network-online.target
After=network-online.target
[Service]
User=linx
ExecStart=/usr/bin/linx-server -config /etc/linx-server.conf
StateDirectory=linx-server
StateDirectoryMode=0750
WorkingDirectory=/var/lib/linx-server
ProtectSystem=full
PrivateTmp=true
ProtectHome=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
[Install]
WantedBy=multi-user.target
Also=linx-cleanup.timer
|