From 2b8d1618cd966c63c0f599e3aeb8e44eb53cfd7f Mon Sep 17 00:00:00 2001 From: Tealk <12276250+Tealk@users.noreply.github.com> Date: Tue, 25 Mar 2025 20:52:03 +0100 Subject: [PATCH] A help file is not necessary. --- FAQ---Frequently-Asked-Questions.md | 32 +++++++---------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/FAQ---Frequently-Asked-Questions.md b/FAQ---Frequently-Asked-Questions.md index b12fb61..6efbda9 100644 --- a/FAQ---Frequently-Asked-Questions.md +++ b/FAQ---Frequently-Asked-Questions.md @@ -32,24 +32,9 @@ services: # Create a systemd-service for Zoraxy - -Create start.sh in the zoraxy folder with: - -`nano start.sh` - -Put in those lines - -``` -#!/bin/bash -./zoraxy -port=:8000 -``` If you want faster GeoIP-Lookup, you can add `-fastgeoip=true` after `-port=:8000`. Zoraxy will then use more RAM. [See v2.6.6 Release](https://github.com/tobychui/zoraxy/releases/tag/2.6.6) -Make it executable with - -`chmod +x start.sh` - Create systemd-service file with `sudo nano /etc/systemd/system/zoraxy.service` @@ -57,23 +42,20 @@ Create systemd-service file with Put in following lines: ``` + GNU nano 7.2 /etc/systemd/system/zoraxy.service [Unit] -Description=Zoraxy Reverse Proxy Server -#Waits for network to be online -After=network-online.target -Wants=network-online.target +Description=Zoraxy Service +After=network.target [Service] Type=simple -#No sudo required in start.sh -User=root +User=root Group=root -#Folder where zoraxy is located -WorkingDirectory=/zoraxy -#absolute path for start.sh -ExecStart=/bin/bash /zoraxy/start.sh +WorkingDirectory=/opt/zoraxy/src +ExecStart=/opt/zoraxy/src/zoraxy -port=:8000 +Restart=always [Install] WantedBy=multi-user.target