3x-ui/x-ui.service

23 lines
436 B
SYSTEMD
Raw Normal View History

2023-02-09 19:18:06 +00:00
[Unit]
Description=x-ui Service
After=network.target
Wants=network.target
[Service]
Environment="XRAY_VMESS_AEAD_FORCED=false"
Type=simple
WorkingDirectory=/usr/local/x-ui/
ExecStart=/usr/local/x-ui/x-ui
Restart=on-failure
RestartSec=5s
2025-08-31 13:26:46 +00:00
ProtectHome=tmpfs
ProtectKernelModules=true
ProtectControlGroups=true
ProtectKernelLogs=true
ProtectHostname=true
ProtectClock=true
MemoryDenyWriteExecute=true
2023-02-09 19:18:06 +00:00
[Install]
2025-08-31 13:26:46 +00:00
WantedBy=multi-user.target