diff options
| author | Darkcyankitty <darkcyan_kitty@proton.me> | 2025-08-31 16:26:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-31 16:26:46 +0300 |
| commit | 664269d513f4c122c9f5a713d3293777872d3353 (patch) | |
| tree | 40cec32339b904c3654ba05ce82fecb5b392bad5 | |
| parent | d0796b26c94da1132390446cf7a59c18ff36bb25 (diff) | |
x-ui.service hardneing (#3397)
| -rw-r--r-- | x-ui.service | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/x-ui.service b/x-ui.service index 29d2a63a..3b375c3e 100644 --- a/x-ui.service +++ b/x-ui.service @@ -10,6 +10,13 @@ WorkingDirectory=/usr/local/x-ui/ ExecStart=/usr/local/x-ui/x-ui Restart=on-failure RestartSec=5s +ProtectHome=tmpfs +ProtectKernelModules=true +ProtectControlGroups=true +ProtectKernelLogs=true +ProtectHostname=true +ProtectClock=true +MemoryDenyWriteExecute=true [Install] -WantedBy=multi-user.target
\ No newline at end of file +WantedBy=multi-user.target |
