24 lines
462 B
Desktop File
24 lines
462 B
Desktop File
[Unit]
|
|
Description=Update Xray lists
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=xray-lists
|
|
Group=xray-lists
|
|
WorkingDirectory=/var/lib/xray-lists
|
|
UMask=0022
|
|
ExecStart=/opt/xray-lists/update.sh
|
|
ExecStartPost=+/opt/xray-lists/apply.sh
|
|
|
|
NoNewPrivileges=yes
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
ProtectHome=yes
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/var/lib/xray-lists
|
|
ProtectKernelTunables=yes
|
|
ProtectKernelModules=yes
|
|
ProtectControlGroups=yes
|
|
RestrictSUIDSGID=yes
|
|
LockPersonality=yes
|